5. Sequences: Lists and Tuples


In this chapter, you’ll:

Image Create and initialize lists and tuples.

Image Refer to elements of lists, tuples and strings.

Image Sort and search lists, and search tuples.

Image Pass lists and tuples to functions and methods.


Get Python for Programmers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.