Beginner · Free · In your browser

Learn Python

Build readable programs from simple values, then deepen your toolkit with unpacking, sorting, generators, classes, and CSV processing. Finish with a scorecard and a budget-aware study planner.

20 lessons6 modules3.5 hours of practice4 challenges
Start the Python course →

No installation. Your code runs right in the browser. No previous experience required. A little curiosity is enough.

What you will be able to do

Course outline

Module 1

Values & decisions

Start with expressions, variables, and clear conditions.

  1. Your first Python programSay hello · 5 min
  2. Names, numbers & stringsWorking with variables · 6 min
  3. Choose the right pathComparisons, if & elif · 8 min
Module 2

Loops & functions

Repeat work and turn it into reusable behavior.

  1. A little repetitionLists & loops · 7 min
  2. Your own functionsMake it reusable · 7 min
  3. Build a useful listList comprehensions · 8 min
Module 3

Working with collections

Use dictionaries, strings, tuples, and sets deliberately.

  1. A dictionary for your ideasDictionaries · 7 min
  2. Clean up a little textString methods · 8 min
  3. Keep only what is uniqueSets, tuples & sorting · 8 min
Module 4

Reliable little programs

Recover from errors, parse structured data, and build a scorecard.

  1. Handle the unexpectedExceptions & recovery · 9 min
  2. Read structured dataThe standard library & JSON · 10 min
  3. Project: a study scorecardFinal project · records & aggregation · 18 min
Module 5

A more expressive Python toolkit

Unpack records, choose sorting keys, yield values, and model a small piece of state.

  1. Unpack a record into useful namesUnpacking & starred targets · 10 min
  2. Choose a useful sorting keysorted, lambda & tuple keys · 11 min
  3. Yield one result at a timeGenerator functions · 12 min
  4. Model a small piece of stateClasses & instance methods · 14 min
Module 6

Reliable inputs & practical reports

Validate values, parse CSV text, debug state, and build a time-budgeted study planner.

  1. Validate a score with intentionConversion, booleans & finite numbers · 12 min
  2. Read a small CSV reportcsv.DictReader & in-memory streams · 14 min
  3. Debug a value that survives between callsMutable defaults & pure updates · 13 min
  4. Project: a time-budgeted study plannerCapstone · CSV, sorting & validation · 25 min

Ready for your first line?

Every lesson is short, hands-on, and checked automatically.

Start learning Python →