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