Ask me anything about your lessons or your code.
“What is a port?” · “Why is my code erroring?”
One name for many values: how a Python list holds an ordered pile of items so a loop finally has something worth looping over.
Lists and Collections
One name for many values: how a Python list holds an ordered pile of items so a loop finally has something worth looping over.
Dictionaries and Lookups
Stop counting positions and start asking by name: the Python dict looks a value up by a key you choose, not a number Python assigned.
Working With Text
A string is a sequence of characters with a deep toolkit: index it, slice it, clean it, split it, and build new text, none of it changing the original.
Reading and Writing Files
A file is how a program's data survives after it ends: open, read, write, append, and the with block that always closes the file.
Errors and How to Handle Them
A missing file or bad input does not have to crash a program: catch the exception, read the traceback, and keep it running.