🐍 PYTHON POWER-UP! Lesson 1: Your First Program!
You've seen the Roadmap, now let's start building! This is your first step into Python. We're cutting through the complexity to master the absolute basics: the print() function, how variables really work (labels, not boxes!), and how to use Python as a calculator.
🔥 START HERE:
▶️ Click here to watch The Full Course Roadmap (Lesson 0):
[ • Roadmap to Mastering Python: The 4-Step Pl... ]
⏰ TIMESTAMPS:
0:00 Intro: Why We're Building a Solid Foundation
0:50 The print() Function (Your First Command)
1:30 Strings vs. Integers (Why quotes matter)
2:07 Variables: Labels, Not Boxes (The core idea of Python)
3:11 Making Things Happen: Using Operators (+, -, *, /)
3:45 Float vs. Integer Division (Python's clever trick)
4:24 Your First Working Program! (Combining the Atoms)
🛠️ CORE CONCEPTS COVERED:
print() function
Integers (int) and Floats (float)
Strings (str)
Variables and Reassignment (Labels, not Boxes)
Basic Math Operators
Integer Division (//) vs. Float Division (/)
💻 Solution for "Your Challenge"
The challenge was:
Create a variable called my_age and set it equal to your age (12).
Print what your age will be in 5 years, using the my_age variable and addition.
Here is the code that solves that challenge, which you can show on screen after the user has had time to pause the video and try it themselves:
✅ The Solution Code
Python
1. Create a variable called my_age and set it to 12
my_age = 12
2. Print the age in 5 years (12 + 5)
print(my_age + 5)
➡️ Expected Result
The code would output:
17
🧠 Why This Works (The Narration)
You could quickly walk through the solution like this:
"The first line tells Python to create a 'box' named my_age and put the number 12 inside it. The second line uses the print() function. Instead of just printing the number 12, we tell Python to calculate the value of my_age + 5 first. It pulls the 12 from the box, adds 5, and then prints the final result, 17! Great job taking your first steps into code!"
SUBSCRIBE for weekly animated lessons and hit the notification bell so you don't miss Lesson 2!
Terkoiz
@doumaki4501
@effie2095
@SimpleFox1
@smoilysheep4670
@favfaris4714
@n8sterAnimates
@Spacedoughnut
@ARCpersona
@ablerai
@ichasedacrow
@Keenlol
@NotSoProishNoob
@mekatokwa
@oxob3000
@eds7236
@Nemo0501
Exceld
@Hexalhaxel