PyTutorial

Lists & Tuples

#Python Lists

Lists are used to store multiple items in a single variable.

python
fruits = ["apple", "banana", "cherry"]
print(fruits[1]) # Output: banana