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: