May 2017
Intermediate to advanced
280 pages
6h 2m
English
In this chapter, we will cover Python lists, list functions, and list methods.
In the real world, we often make lists, such as daily to-do lists, a list of players of the Cricket team, a guest list for a wedding, lists of food, and so on.
Like tuple, a list is also a built-in data structure available in Python. It can contain heterogeneous values such as integers, floats, strings, tuples, lists, and dictionaries. However, Python lists are mutable; yes, they can change.
The following are the characteristics of a Python list:
Read now
Unlock full access