Skip to content
Episode from the podcast Python From Scratch
Episode 1: How Python Thinks & Variables artwork

Episode

Episode 1: How Python Thinks & Variables

Released Tuesday, October 6th 2026 21 min

Show notes

About this episode

Welcome to Episode 1! In this episode, we start from absolute zero and look at how Python actually reads your instructions (like a checklist from top to bottom) and how it remembers information using "Variables". Instead of scary maths jargon, we break variables down using everyday analogies like labelled plastic storage boxes and spreadsheet cells. What you’ll learn in this episode: • Why computers have zero common sense (and why step-by-step order matters) • What a "Variable" actually is (a storage box with a name tag) • Why the equals sign (=) in Python is an action instruction, not a maths symbol • How to update what is inside a box • How to use the print() instruction to display what is inside a box on your screen --- QUICK CODE CHEAT SHEET (To look at while you listen): 1. Put the number 30 inside a box called class_size: class_size = 30 2. Update that same box with a new number (throws away the 30): class_size = 31 3. Display what is inside the box on your screen: print(class_size)

More from Python From Scratch

All episodes

Episode 10: Clean Text & Fill-in-the-Blanks (F-Strings)

23 min

Episode 10: Clean Text & Fill-in-the-Blanks (F-Strings) In this episode of PYTHON_FROM_SCRATCH, we ditch the clunky plus signs from Season 1 and learn how to effortlessly slot variables directly into text. We explore the party invitation fill-in-the-blank analogy, how to format with F-Strings, and the essential string methods needed to clean up messy user inputs. 0:00 - The Party Invitation Analogy 0:45 - Welcome & AI Voice Disclosure 1:30 - Formatting with F-Strings 3:15 - Tidying Text (.strip and .lower) 4:45 - 10-Second Commuter Challenge 5:30 - Next Up: Importing Modules (Episode 11) COMMUTER CHALLENGE: If item = 'coffee' and price = 4, what appears on screen if you accidentally forget the letter f at the front and just write print('Your {item} costs {price}')? Drop your answer in the comments below! --- ⚖️ DISCLOSURES & NOTICES: • Voice & Production: This audio/video production utilizes synthetically generated AI voices alongside original instructional design. • Commercial Rights: Audio and synthetic voice tracks are licensed for distribution and monetization. #Python #LearnPython #Programming #PythonFromScratch

Episode 9: Repeating Until Done (While Loops & User Input)

7 min

Welcome to Season 2 of PYTHON_FROM_SCRATCH! Think about stirring a pot of gravy on the stove. You don't stir it exactly 47 times; you keep stirring UNTIL the lumps are gone. Today, we leave fixed For Loops behind and learn how to use While Loops and User Input to keep our Python programs running until a specific condition is met! ⏱️ CHAPTERS: 0:00 - The Stirring Analogy (Why we need While Loops) 1:35 - Getting Data from the User (input) 2:50 - The "Keep Going Until" Loop (while) 4:15 - The Infinite Loop Trap 5:10 - 10-Second Commuter Challenge 6:00 - Next Up: F-Strings (Episode 10) 🧠 COMMUTER CHALLENGE: If we set `energy = 3`, and write `while energy > 0: print('Running')`, but we forget to subtract 1 from `energy` inside the loop... what happens when we run the program? Drop your answer in the comments! --- ⚖️ DISCLOSURES & NOTICES: ​Voice & Production: This audio/video production utilizes synthetically generated AI voices alongside original instructional design.​Commercial Rights: Audio and synthetic voice tracks are licensed for commercial distribution and monetization. #Python #LearnPython #Programming #PythonFromScratch #WhileLoop #CodingForBeginners

Episode 8: Error Handling & Safety Nets (Season 1 Finale)

18 min

Episode 8: Error Handling & Safety Nets (Season 1 Finale) It is the Season 1 Finale of PYTHON_FROM_SCRATCH! Before we take a short break to prepare for Season 2, we are tackling the most important skill for writing resilient code: Error Handling. Think about walking on a trapeze. Professional acrobats don't assume they will never slip; they string a strong safety net underneath. We show you how to use Try and Except blocks to catch errors—like a user typing "twenty" instead of the number 20—so your program lands safely instead of crashing. 0:00 - The Trapeze Safety Net Analogy 0:45 - Welcome & AI Voice Disclosure 1:30 - Why Programs Stumble and Crash 2:50 - Building the Safety Net (try and except) 4:15 - How to Keep Your Program Running 5:30 - The Final Commuter Challenge 6:15 - Season 1 Wrap-Up & What's Next COMMUTER CHALLENGE: If the code inside your 'try' block runs completely smoothly with zero errors, does the backup code in your 'except' block ever run? Drop your answer in the comments, and thank you for joining us for Season 1! --- ⚖️ DISCLOSURES & NOTICES: ​ Voice & Production: This audio/video production utilizes synthetically generated AI voices alongside original instructional design.​ Commercial Rights: Audio and synthetic voice tracks are licensed for distribution and monetization. #Python #LearnPython #Programming #PythonFromScratch #TryExcept #CodingForBeginners

Episode 7: Outputting Values (Return vs Print)

18 min

Episode 7: Outputting Values (Return vs Print) In this episode of PYTHON_FROM_SCRATCH, we clear up the single most common confusion for beginner programmers: the difference between print() and return. We use the "megaphone vs. paperwork" analogy to show why just displaying a number on a screen doesn't mean your code can actually use it for math later. 0:00 - The Megaphone Analogy (Displaying vs. Handing Over) 0:45 - Welcome & AI Voice Disclosure 1:30 - Why print() is not enough 2:45 - The return Action (Handing data back) 4:00 - Catching the Hand-Off in a Variable Box 5:30 - 10-Second Commuter Challenge 6:15 - Next Up: Error Handling (Episode 8) COMMUTER CHALLENGE: If a function calculates a discount but doesn't have a 'return' statement, what is stored inside the variable box that tries to capture its output? Drop your answer in the comments below! --- ⚖️ DISCLOSURES & NOTICES: ​Voice & Production: This audio/video production utilizes synthetically generated AI voices alongside original instructional design.​Commercial Rights: Audio and synthetic voice tracks are licensed for distribution and monetization. #Python #LearnPython #Programming #PythonFromScratch #PythonFunctions #CodingForBeginners

Episode 6: Reusable Recipes (Functions)

19 min

Episode 6: Reusable Recipes (Functions) In this episode of PYTHON_FROM_SCRATCH, we learn the golden rule of coding: Don't Repeat Yourself! Just like you wouldn't rebuild a toaster from scratch every morning, you shouldn't rewrite code every time you need to do a task. We cover how to build reusable mini-machines using Functions, how to pass "ingredients" into them, and the crucial step of actually turning them on. 0:00 - The Toaster Analogy (Why we need Functions) 0:45 - Welcome & AI Voice Disclosure 1:30 - Defining a Function (The 'def' keyword) 3:00 - Naming Your Recipe and Adding Ingredients 4:15 - Calling the Function (Pressing the button) 5:30 - 10-Second Commuter Challenge 6:15 - Next Up: Return vs Print (Episode 7) COMMUTER CHALLENGE: If you define a recipe like this: def show_total(): print(100) But you never write show_total() later in your script, what actually appears on your screen? Drop your answer in the comments below! --- ⚖️ DISCLOSURES & NOTICES: ​ Voice & Production: This audio/video production utilizes synthetically generated AI voices alongside original instructional design.​ Commercial Rights: Audio and synthetic voice tracks are licensed for distribution and monetization. #Python #LearnPython #Programming #PythonFromScratch #PythonFunctions #CodingForBeginners

This podcast, its content and its artwork are not owned by, affiliated with, or endorsed by Castquire.

Up next

  1. Nothing queued. Use + Queue on any episode to line it up.

0:00 0:00