+ 1

How to delete items from the list in its name

for example: list = ["dog,cat,fish"] del list [1] #and Will be deleted "cat" #but i want delete items from the list in its name Anyone can help me?

14th Nov 2017, 3:35 PM
zura bakuradze
zura bakuradze - avatar
3 odpowiedzi
+ 5
delete an index but remove an item
14th Nov 2017, 4:39 PM
Oma Falk
Oma Falk - avatar
0
thank you porf code very good
15th Nov 2017, 3:43 AM
zura bakuradze
zura bakuradze - avatar