Lesson 3 of 14 · Language basics
Conditions and loops: if, for, while, range, break and continue
Objective
Give logic to your programs: choose delivery fees based on the city and the amount, go through the day's sales, repeat a calculation until you reach a goal, stop at the first problem you meet.
This lesson is part of the full course
Unlock Python: Programming, Automation and Data Analysis to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.