List Varieties

Learn about the different varieties of lists in Python.

Nested list

It is possible to create a list of lists (which is also called a nested list), as shown below:

Get hands-on with 1400+ tech skills courses.