Python Lists are used to store multiple items in a single variable.
-
List is one of four built-in data types in Python used to store collections of data, the rest other three are Tuple, Set, and Dictionary.
-
These all have different qualities and usage.
Lists are created using square brackets:
Create a List:
thislist = ["apple", "banana", "cherry"]
print(thislist)