Removing elements from list using if condition

前端 未结 0 1265
一生所求
一生所求 2020-11-28 15:56

I have tried to remove an element by using if condition in a list, if the list is like this

list1 = [\'a\',\'1\',\'c\',\'2\',\'d\',\'3\']

for i in list1:
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题