Skip to content

← 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.

Start the course

Lessons in this course

  1. 00 Run it! 3 required tasks · ★
  2. Your first program 01 · 3 required tasks · ★ Video
  3. Variables 02 · 3 required tasks · ★ Video
  4. Numbers & operators 03 · 3 required tasks · ★ Video
  5. Getting input 04 · 3 required tasks · ★ Video
  6. Working with strings 05 · 4 required tasks · ★★ Video
  7. P1 Project: Mad Libs Project · ★★
  8. Making decisions 06 · 4 required tasks · ★★ Video
  9. Counting loops 07 · 4 required tasks · ★★ Video
  10. While loops 08 · 3 required tasks · ★★ Video
  11. P2 Project: Guess the number Project · ★★★
  12. Lists (1-D arrays) 09 · 3 required tasks · ★★ Video
  13. P3 Project: Quiz with a score Project · ★★★
  14. Functions 10 · 3 required tasks · ★★ Video
  15. P4 Project: Rock, paper, scissors Project · ★★★
  16. Scope & arguments 11 · 4 required tasks · ★★★ Video
  17. Dictionaries (records) 12 · 3 required tasks · ★★★ Video
  18. P5 Project: Text adventure Project · ★★★★
  19. Planning & pseudocode 13 · 3 required tasks · ★★ Video
  20. Errors & testing 14 · 3 required tasks · ★★★ Video
  21. Putting it all together 15 · 3 required tasks · ★★★ Video
  22. P6 Project: Hangman Project · ★★★★
  23. history A short history of Python Reading and resources
  24. usage What Python is used for Reading and resources
  25. resources Where to learn more Reading and resources
  26. setup Set up your computer Reading and resources

Language reference

/know/reference/python

Log in or create account

IGCSE, A-Level & AP