Chapter 12
Managing Lists
In This Chapter
Defining why lists are important
Generating lists
Looking through lists
Working with list items sequentially
Changing list content
Locating specific information in lists
Putting list items in order
Using the Counter object to your advantage
A lot of people lose sight of the fact that most programming techniques are based on the real world. Part of the reason is that programmers often use terms that other people don’t to describe these real-world objects. For example, most people would call a place to store something a box or a cupboard — but programmers insist on using the term variable. Lists are different. Everyone makes lists and uses them ...
Get Beginning Programming with Python For Dummies 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.