Python Project: A Basket Summary
Build a basket summary in integer pence, account for unavailable products and package the calculation in a reusable function.
Recommended first: Intermediate Python
- 3 lessons
- About 1 hour
Go beyond the basics: tuples and sets, comprehensions, flexible functions, error handling, classes, dataclasses and generators, all practised in real Python in your browser.
Recommended first: Python Fundamentals. This course builds on it.
Free to browse. You sign in at the first lesson so your progress is saved.
7 modules and 24 lessons. Each lesson is a short read followed by an exercise with tests.
After this course
These courses build on what you learn in Intermediate Python.
Build a basket summary in integer pence, account for unavailable products and package the calculation in a reusable function.
Recommended first: Intermediate Python
Clean, read, count and report on everyday data using only the Python standard library: text, CSV, JSON, dates and tidy text reports.
Recommended first: Intermediate Python