Source Code:
(back to article)
fruits = ["banana", "apple", "orange"] fruits.remove("apple") print(fruits) # Output: ["banana", "orange"]
Result:
Report an issue