5. Sequences: Lists and Tuples
Objectives
In this chapter, you’ll:
Create and initialize lists and tuples.
Refer to elements of lists, tuples and strings.
Sort and search lists, and search tuples.
Pass lists and tuples to functions and methods.
Get Python for Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.