A list is a collection of items stored in a specific order. Lists can hold any data type — numbers, strings, or even other lists.
Example:
fruits = ["apple", "banana", "cherry"]
You can get items from a list by their index. Indexing starts at 0.
Example:
fruits[0] #returns "apple"
fruits[2] #returns "cherry"
You can also use negative indexes to count from the end:
fruits[-1] # returns "cherry"
Lists let you store multiple values like rows of data, column values, or groups of items. Understanding how to work with lists is key to organizing and processing data.