In Python, everything is an object and almost any container can store objects of different types/classes. Even functions and custom class instances.
For example:
>>> def double(num):
... return num + num
...
>>> a_list = ['This is a string object', True, None, 0, -14.5, 42, 0 , double, '11']
>>> for element in a_list:
... print(type(element))
...
<class 'str'>
<class 'bool'>
<class 'NoneType'>
<class 'int'>
<class 'float'>
<class 'int'>
<class 'int'>
<class 'function'>
<class 'str'>
So the first element is a string obviously as the last one. There is a None, a boolean type, some integers, a float and a function which you can point to and call it from the list:
>>> a_list[-2](8)
16