Lists, dictionaries, sets and tuples — where the data actually lives.
10 lessons · about 5 hours · free
One value per variable stops being enough almost immediately. This course covers the four containers Python programs are built from: lists for ordered collections, dictionaries for lookups by name, sets for membership and de-duplication, and tuples for fixed groups of values. You will also meet slicing and list comprehensions, two pieces of syntax that make Python code look like Python.
An ordered, changeable collection — the container you will reach for most often.
Looking things up by name, and answering 'have I seen this before?' quickly.