Run Program ❯
Python Home
❯
Run Code
Change Orientation
# Define a list of fruits fruits = ['apple', 'banana', 'orange'] # Add a new item to the list fruits.append('mango') # Print the updated list print(fruits)