๐ Welcome, future programmer!
Python is one of the most popular programming languages in the world. It powers games, websites, robots, space missions, and even the special effects in movies! Best of all, Python reads almost like plain English โ so it's the perfect first language.
This course is built lesson by lesson. Each lesson has a ๐ Description tab that teaches you an idea, and a ๐ฎ Practice tab full of fun mini-projects. You'll write code right in your browser, press โถ Run, and see your program come to life. No installing anything!
๐ Start at Lesson 1 and work your way down. Ready? Let's code! ๐
Your First Program
Meet print(), write your very first line of Python, and learn what code even is.
Variables & Data Types
Store words, numbers, and true/false values in labeled boxes called variables.
Foundations 3Working with Text
Join, slice, and transform words. Build messages with f-strings like a pro.
Strings 4Numbers & Math
Turn Python into a super-calculator with +, โ, ร, รท, remainders, and powers.
Math 5Getting Input
Ask the user questions with input() and make your programs interactive.
Making Decisions
Use if, elif, and else so your code can choose what to do.
Loops
Repeat actions without copy-pasting using for and while loops.
Lists
Keep collections of things in order โ add, remove, sort, and loop over them.
Collections 9Dictionaries
Match keys to values, like a real dictionary matches words to meanings.
Collections 10Functions
Teach Python your own commands and reuse them as many times as you like.
Reusable code ๐Capstone Projects
Put it all together! Build a quiz game, a password maker, and more.
Challenge