🐍 Learn Python From Zero — Episode 2: If, Else & Making Decisions (Fully Animated & Visualised)
Welcome back to Python from Zero - the fully animated Python course that teaches you programming through beautiful visualisations. In Episode 2, your code learns to think.
Until now, your programs ran top to bottom, every line, every time. Not anymore. In this episode you'll learn how to make Python choose - run one block of code when something is true, and a completely different block when it's not.
By the end, you'll build a complete Grade Calculator from scratch that takes a student's score and decides their grade — using everything you learn in this episode.
━━━━━━━━━━━━━━━━━━━━
⏱️ TIMESTAMPS
━━━━━━━━━━━━━━━━━━━━
00:00 — What if your code could make decisions?
00:03 — Welcome back to Python from Zero
00:13 — What we'll cover today
00:23 — Episode 1 Recap Quiz (answers revealed!)
00:49 — Comparison Operators: ==, !=, gt lt, gt=, lt=
01:09 — Try it yourself: comparisons in action
01:25 — The if Statement — your first decision
01:34 — Anatomy of an if statement
01:45 — Demo: when the condition is True
01:53 — Demo: when the condition is False
02:04 — Introducing else — the fallback path
02:12 — Writing if/else code
02:22 — Running if/else: Hot weather
02:30 — Running if/else: Cool weather
02:38 — elif — handling multiple conditions
02:46 — Writing elif chains
02:56 — Running an elif chain step by step
03:08 — Why indentation matters (and common errors!)
03:17 — Boolean Logic: and, or, not
03:29 — Boolean: and operator
03:37 — Boolean: or operator
03:44 — Boolean: not operator
03:52 — Nested Conditionals: decisions inside decisions
04:02 — Writing nested if/elif/else code
04:25 — Tracing through nested conditions
04:45 — User Input: making programs interactive
04:54 — Demo: input() in action
05:07 — Challenge: Build a Grade Calculator
05:15 — Writing the grade calculator code
05:27 — Running it: Score 92 → A
05:37 — Running it: Score 75 → C
05:45 — Running it: Score 45 → F
05:53 — Visual Recap: if → elif → else flowchart
06:04 — Episode 2 Quiz
06:16 — What's Next + Subscribe
━━━━━━━━━━━━━━━━━━━━
🔧 INSTALL PYTHON (BEFORE YOU START)
━━━━━━━━━━━━━━━━━━━━
This series focuses on teaching you Python concepts visually — we don't cover installation in the video so we can jump straight into the fun stuff.
It takes 2 minutes to set up:
1. Go to https://www.python.org/downloads/
2. Click the big yellow "Download Python" button
3. Run the installer (✅ tick "Add Python to PATH" on Windows!)
4. Open your terminal/command prompt and type: python --version
5. If you see a version number, you're ready to go 🎉
📖 Full install guide: https://wiki.python.org/moin/Beginner...
Mac & Linux users: Python 3 may already be installed. Type `python3 --version` in your terminal to check.
━━━━━━━━━━━━━━━━━━━━
📚 WHAT YOU'LL LEARN IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━
✅ Comparison operators: ==, !=, gt, lt, gt=, lt=
✅ The if statement — making your first decision
✅ else — providing a fallback path
✅ elif — handling multiple conditions in a chain
✅ Why indentation matters in Python (and what happens when you get it wrong)
✅ Boolean logic: and, or, not
✅ Nested conditionals: decisions inside decisions
✅ User input with input() — making programs interactive
✅ Building a complete Grade Calculator from scratch
━━━━━━━━━━━━━━━━━━━━
🎬 PYTHON FROM ZERO — FULL SERIES
━━━━━━━━━━━━━━━━━━━━
This is a free, animated Python course designed to take you from absolute zero to confident Python programmer. Each episode covers one core concept with rich visualisations and hands-on examples.
▶️ EP 1: Your First Line of Code → [LINK]
▶️ EP 2: If, Else & Making Decisions (You are here)
▶️ EP 3: Coming soon — Subscribe to stay updated!
━━━━━━━━━━━━━━━━━━━━
🔍 TOPICS COVERED
━━━━━━━━━━━━━━━━━━━━
Python if else tutorial, Python elif tutorial, Python comparison operators, Python boolean logic, Python and or not, Python nested conditionals, Python indentation, Python input function, Python grade calculator, learn Python conditionals, Python decision making, if statement Python, else statement Python, elif Python explained, Python for beginners, animated Python tutorial, learn Python visually, Python from zero, visual Python course, Python conditional statements tutorial, beginner Python course, free Python course 2026
━━━━━━━━━━━━━━━━━━━━
🤝 CONNECT & SUPPORT
━━━━━━━━━━━━━━━━━━━━
💬 Comment: What grade would YOUR program give a score of 85?
👍 Like this video if the animations helped you understand conditionals
🔔 Subscribe + Bell for the next episode every week
📤 Share with a friend who's learning to code