Source Code:
(back to article)
my_list = [1, 2, 3, 4, 3, 5, 3] while 3 in my_list: my_list.remove(3)
Result:
Report an issue