In Python remove() will remove the first occurrence of value in a list.
remove()
How to remove all occurrences of a value from a list?
This is w
What's wrong with:
Motor=['1','2','2'] For i in Motor: If i != '2': Print(i) Print(motor)
Using anaconda