Containers are any object that holds an arbitrary number of other objects. Strictly speaking, in the Python Standard Library we found the following containers:
However, extrapolating the idea that any thing in Python is an Object, we can also consider the following structures as containers:
Finally, notice that programmers can define their own container structures.
In [ ]: