Decisions & Loops
Make your programs choose and repeat.
For: Anyone who finished Python Basics
0/9 done
Earn a free certificate
Mark all 9 lessons as done and pass a short 5-question quiz to get a verified IT Vizag certificate you can add to LinkedIn.
See a sample certificate →- 1True, False and comparisons Booleans and the operators that compare values.1 min read
- 2if, elif and else Make your program take different paths.1 min read
- 3and, or, not Combine conditions, with a movie-ticket price example.1 min read
- 4for loops and range() Repeat work a set number of times.1 min readFree sign-up
- 5while loops Repeat until something changes, and avoid infinite loops.1 min readFree sign-up
- 6break and continue Stop a loop early or skip a step.1 min readFree sign-up
- 7Nested loops and patterns Loops inside loops: tables and star patterns from interviews.2 min readFree sign-up
- 8AI angle: ask AI to trace a loop Get AI to walk through code step by step, then check it yourself.2 min readFree sign-up
- 9Mini project: number-guessing game A game with random numbers, hints and a score.2 min readFree sign-up
All 9 lessons are free. The first 3 are open to everyone; the rest need a free sign-up.
What to learn next
Lists, Dicts & Data
Store and organise many values the Python way.
9 lessons · 3 free · 9 ready now
Python Basics
Your first lines of Python, in the browser, with nothing to install.
10 lessons · 3 free · 10 ready now
Functions & Clean Code
Write code that is reusable, readable and easy to fix.
9 lessons · 3 free · 9 ready now
Learning with friends is easier — share this course