DiscoverPython From Scratch
Python From Scratch
Claim Ownership

Python From Scratch

Author: PYTHON_FROM_SCRATCH

Subscribed: 1Played: 0
Share

Description

I’m learning python as a complete beginner to coding. Come on this journey and learn with me.
10 Episodes
Reverse
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 Analogy0:45 - Welcome & AI Voice Disclosure1:30 - Formatting with F-Strings3:15 - Tidying Text (.strip and .lower)4:45 - 10-Second Commuter Challenge5: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
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 Trap5:10 - 10-Second Commuter Challenge6: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)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 Analogy0:45 - Welcome & AI Voice Disclosure1:30 - Why Programs Stumble and Crash2:50 - Building the Safety Net (try and except)4:15 - How to Keep Your Program Running5:30 - The Final Commuter Challenge6:15 - Season 1 Wrap-Up & What's NextCOMMUTER 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)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 Disclosure1:30 - Why print() is not enough2:45 - The return Action (Handing data back)4:00 - Catching the Hand-Off in a Variable Box5:30 - 10-Second Commuter Challenge6: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)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 Disclosure1:30 - Defining a Function (The 'def' keyword)3:00 - Naming Your Recipe and Adding Ingredients4:15 - Calling the Function (Pressing the button)5:30 - 10-Second Commuter Challenge6: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
loading
Comments