Free course

Python From Zero: Programming You Can Actually Use

Learn to program from nothing, in Python, through 20 code labs that run in your browser. You finish with a working script that turns a sales file into a plain-text report.

BeginnerTechnologyCertificate
7 modules 48 lessons 10 enrolled ~10h of material
Python From Zero: Programming You Can Actually Use

By the end

What you'll build

  • Write and run a Python script that prints, stores values in variables and builds readable output with f-strings
  • Choose correctly between int and float, and use /, // and % to answer three different division questions
  • Convert text to numbers with int() and float(), and explain why every typed or CSV value starts as text
  • Write an if/elif/else chain in the correct order so that overlapping ranges are tested from highest to lowest
  • Replace repeated code with for and while loops, and control them with range, break and continue
  • Pick the right container for a job — list, tuple, dictionary or set — and total values by name with .get(key, 0)
  • Define functions with parameters, default arguments, docstrings and return values, and explain why return beats print
  • Read a Python traceback from the bottom up and handle an expected failure with a named except clause
  • Read and write text and CSV files safely using a with block, an explicit encoding and csv.DictReader
  • Build and ship a documented report-generator script that writes a plain-text file and proves itself with assert

The shape of it

How this course works

Short lessons

48 lessons across 7 modules, each small enough to finish in one sitting.

Practice as you go

Every lesson ends with a small space for what you noticed — the doing is the learning.

A certificate at the end

Finish the course and earn a certificate anyone can verify with a link.

Ready when you are.

Make an account and this course opens up — your progress is saved from the very first lesson.