Python list

Python List

A Python list is a collection of ordered items. Lists can hold a mix of items of any data type and can also change their size. Consequently, Python lists are very easy to use. However, their flexible nature comes at the expense of performance (speed and space usage) as well as an increased potential for bugs.