Instructor Notes

General Notes


It’s all right not to get through the whole lesson.
This lesson is designed for people who have never programmed before, but any given class may include people with a wide range of prior experience. We have therefore included enough material to fill a full day if need be, but expect that many offerings will only get as far as the introduction to Pandas.
Don’t tell people to Google things.
One of the goals of this less is to help novices build a workable mental model of how programming works. Until they have that model, they will not know what to search for or how to recognize a helpful answer. Telling them to Google can also give the impression that we think their problem is trivial. (That said, if learners have done enough programming before to be past these issues, having them search for solutions online can help them solidify their understanding.) It’s also worth quoting Trevor King’s comment about online search: “If you find anything, other folks were confused enough to bother with a blog or Stack Overflow post, so it’s probably not trivial.”

Getting Started


Variables and Assignment


Data Types and Type Conversion


Built-in Functions and Help


Morning Coffee


Libraries


Lunch


Lists


For Loops


Looping Over Data Sets


Writing Functions


Variable Scope


Afternoon Coffee


Conditionals


Programming Style


Wrap-Up


Feedback