Core: learn it Step 3 of 16 on the Python Developer roadmap
Decisions and loops
Real programs choose between options and repeat work. if statements make choices, and loops let the computer handle the boring repetition for you. Practise by writing small programs that react to what a user types.