Python Programming, Python Data Structures, Oop Concepts, Learn Python, Python Interview.
fruits.append('grape') # Removing an item from the list fruits.remove('banana') # Modifying an item in the list fruits[1] = 'kiwi' # Printing the entire list print(fruits) # Output: ['apple', 'kiwi', 'orange', 'grape'] Tuples Tuples are similar to lists, but they are immutable, which means they