← Learn to Code — Python, Java, C, SQL & Web
Python Basics
Your very first steps in programming — no experience needed.
python 22 Lessons
Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.
Lessons in this course
No lessons match. Clear the search or choose another filter.
- 00 Run it! 3 required tasks
- Your first program 01 · 3 required tasks Video
- Variables 02 · 3 required tasks Video
- Numbers & operators 03 · 3 required tasks Video
- Getting input 04 · 3 required tasks Video
- Working with strings 05 · 4 required tasks Video
- P1 Project: Mad Libs Project
- Making decisions 06 · 4 required tasks Video
- Counting loops 07 · 4 required tasks Video
- While loops 08 · 3 required tasks Video
- P2 Project: Guess the number Project
- Lists (1-D arrays) 09 · 3 required tasks Video
- P3 Project: Quiz with a score Project
- Functions 10 · 3 required tasks Video
- P4 Project: Rock, paper, scissors Project
- Scope & arguments 11 · 3 required tasks Video
- Dictionaries (records) 12 · 3 required tasks Video
- P5 Project: Text adventure Project
- Planning & pseudocode 13 · 3 required tasks Video
- Errors & testing 14 · 3 required tasks Video
- Putting it all together 15 · 3 required tasks Video
- P6 Project: Hangman Project
- history A short history of Python Reading and resources
- usage What Python is used for Reading and resources
- resources Where to learn more Reading and resources
- setup Set up your computer Reading and resources