Creating Lists
To create a list, enclose the elements within square brackets, separated by commas.
For example, let's create a list of weekdays:
File: days.py
days = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']
print(days)
The output looks exactly like the list in the source code. But this is not always the case:
['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']