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