YOUR FIRST STEP

Python:
The Basics

Write your first program, ask for input, and work with real data. Build confidence through small exercises before creating your own inventory reporting tool.

20 lessons + a capstone About 5 hours No installation

A little further, every lesson.

5 modules · 20 lessons · 1 capstone
01

Getting started

Write your first programs, work with values, and talk to the terminal.

4 lessons
01Your first Python program8 min 02Variables and numbers11 min 03Strings that say what you mean11 min 04A conversation with your program12 min
02

Collections and decisions

Organise records and choose what your program does next.

4 lessons
05Choose what happens next11 min 06Keep an ordered collection11 min 07Give records meaningful fields11 min 08Tuples, sets, and membership11 min
03

Reusable logic

Repeat work, build functions, and handle invalid input.

4 lessons
09Repeat useful work11 min 10Select, transform, and sort13 min 11Make a reusable function11 min 12Validate input and handle errors13 min
04

Files and formats

Read, transform, and write text, CSV, JSON, and log data.

4 lessons
13Read and write text files14 min 14CSV without broken columns14 min 15JSON for nested configuration12 min 16Find structure in text14 min
05

Building useful tools

Use dates, modules, composition, and tests to make dependable tools.

4 lessons
17Dates with a timezone13 min 18Use a local module13 min 19Compose small reporting functions14 min 20Test the contract17 min
PUT IT ALL TOGETHER

Your inventory reporting tool

Your capstone project · about 35 minutes

Open the capstone