October 2017
Beginner to intermediate
464 pages
12h 35m
English
Until you understand lists, you don’t know Python.
Along with text strings, lists are the most important example of an iterable in Python: a source of data you can always get “the next value” from (until you can’t). The biggest key to writing efficient, high-quality Python code is to understand the Python concept of lists.
This chapter explains how to do the following:
Use lists to sort information
Get selected subranges of data, called slices
Work efficiently with the Python for statement
Read now
Unlock full access