Login
📚 Introduction to Python Programming
Chapters ▾

Chapter 9: Lists

A photo of a notepad and a pen. The notepad says "Budget" across the top, with a numbered list below…
Figure 9.1 credit: modification of work "Budget and Bills" by Alabama Extension/Flickr, Public Domain

Programmers often work on collections of data. Lists are a useful way of collecting data elements. Python lists are extremely flexible, and, unlike strings, a list's contents can be changed.

The Objects chapter introduced lists. This chapter explores operations that can be performed on lists.