From: Learn By on
http://learnbyexamples.org
10.1. Nested data structures

Composed data structures, such as lists, dictionaries and tuples can be nested in Python. This means that you can use these data structures as elements of themselves.

>>> l = [1, [2, 3, [4]], [5, 6]]

The list above contains 3 elements.

>>> len(l)
3

http://learnbyexamples.org/python/python-tutorial/python-tutorial-10-nested-data-structures.html