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