Python Lists
List
A list is a collection which is ordered and changeable.
In Python lists are written with square brackets.
ExampleGet your own Python Server
Create a List:
thislist = ["apple", "banana", "cherry"]
print(thislist)
Try it Yourself »