How do i create a list in python?

In Python, lists are ordered and mutable collections. They can be created using square brackets `[]`. Example:

fruits = ['apple', 'banana', 'cherry']
The above code initializes a list with three string elements.

Beginner's Guide to Python