Python: Lists, Tuples and PEP 8 Style Guidelines

Let’s start out on this highly detailed page on handling lists:

Yes, this is a beast of a topic, and yes, you’ll be using these functions a lot.

Note two things at the bottom of this page. First, see the heading Skim PEP 8. Follow the link there or here:

We’ll do a quick skim in class.

The second thing to note at the bottom of the page is the Hints section. These are “hidden” at the bottom so you won’t get hints to solve exercises unless you scroll down on purpose. Don’t be ashamed to look for these; always find solutions the fastest way you can, using all the resources you know.


Read PEP 8.