Week 3 · Python foundations
Decisions and loops
Real programs react: if the password is right, let the user in; while the game is not over, keep playing. Today you give your programs a brain (decisions) and stamina (loops) and build a number-guessing game.
Software, data and AI90 minutesBeginnerLevel 1 module
In this lesson you will
Tick them off as you read. This is a preview check-list.
Your check-list0 of 4
Ticks here aren't saved until you sign in.
The full lesson is for enrolled students
Enrolled students get the complete notes: essential theory, key terms, a step-by-step practical walkthrough, an independent challenge, check-your-understanding questions and the take-home task.