ABSTRACT

A list is an ordered collection of items and is mutable, meaning that the elements can be changed. A list is the most versatile data type available in Python, which can be written as a list of comma-separated values (items) between square brackets. The good thing about a list is that items need not all be of the same type. A list starts at location 0, and can be sliced, concatenated and so on.