Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
List Functions
Good afternoon, has anyone solved the task called list functions in section 2.1 Functions? Please tell me how to remove items from the list ŠŠ¾Š±ŃŃŠ¹ Š“ŠµŠ½Ń, ŠŗŃŠ¾ Š½ŠøŠ±ŃŠ“Ń ŃŠµŃŠøŠ» Š·Š°Š“Š°Š½ŠøŠµ ŠæŠ¾Š“ Š½Š°Š·Š²Š°Š½ŠøŠµŠ¼ ŃŃŠ½ŠŗŃŠøŠø ŃŠæŠøŃŠŗŠ° Š² ŃŠ°Š·Š“ŠµŠ»Šµ 2.1 Š¤ŃŠ½ŠŗŃŠøŠø? ŠŠ¾Š“ŃŠŗŠ°Š¶ŠøŃŠµ ŠæŠ¾Š¶Š°Š»ŃŠ¹ŃŃŠ°, ŠŗŠ°Šŗ ŃŠ“Š°Š»ŠøŃŃ ŃŠ»ŠµŠ¼ŠµŠ½ŃŃ ŠøŠ· ŃŠæŠøŃŠŗŠ°
5 Respostas
+ 3
Omgš„ŗ. Sorry i'm stupid. English is not my native language. I wrote "remuve" for 20 minutes. You are great. Thank you so much ā¤ļø
+ 1
I know, but when i use remuve, i could not choose max or min value in list
+ 1
Maybe it's only a typo in remove?
https://code.sololearn.com/cyv30U34sZga/?ref=app
0
You can use .remove() to remove a specific item or .pop() to remove an item at a specific index
0
For example: i have numbers in list, but when write list.remuve(max) or remuve(max(list)) i have a mistake