
The complete Unit 2, all 7 lessons
Guide students through writing Python programs that handle text and bad input safely. Students slice and clean strings, line up output with format specs and write check functions that keep asking until an answer is good. They catch errors with try and except, build and crack a shift cipher, see how attacks use bad input and finish with a sign-up checker.
● Instant download · Lifetime access · Free updates · Secure checkout
Short coding levels practice the unit's lessons in CodeGrove, our code lab that runs in the browser. Students write each program, run it and check it, with no account and nothing to install. Use one with the lesson or as practice later.
All 7 lessons follow the same folder system, so you learn the layout once and teach the whole unit.
Real pages from Unit 2, the same clean design in every lesson.
Students fill in the blanks during the slides, with the word bank right on the page.
Students work through labs like Receipt Printer in CodeGrove, our in-browser code lab, then write their code, the output and a why answer on the lab sheet.
The bonus folder has a review lesson, the unit test and a Form B retake, each with a Google Form and a key.
Each lesson has one editable deck. Every day starts at its own Day slide, and the speaker notes say what to say.

This unit is also part of the complete Python Programming 2 course: all 8 units plus the Course-Wide Bonus folder.
They write range, format and character checks, catch errors by name and return error codes. No answer can then crash the program.
Students use strings to build a receipt, a shift cipher and a sign-up checker. A partner tests the checker with bad answers.
Every page is a print-ready PDF, and the Google Forms™ and Google Slides™ let you teach the same unit in Google Classroom™.
Each day's plan is timed activity by activity against real reading and writing speeds.
Reviews help me a lot, and they help other teachers pick the right resources for their classes. It takes about a minute.
Leave a review
Unit 2 is one of 8. Get the full year for less than the eight units cost separately.