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