⌘K
Lists & Tuples
#Python Lists
Lists are used to store multiple items in a single variable.
python
fruits = ["apple", "banana", "cherry"]
print(fruits[1]) # Output: bananaLists are used to store multiple items in a single variable.
fruits = ["apple", "banana", "cherry"]
print(fruits[1]) # Output: banana