Practice
Exercise library
All 811 graded exercises. Each opens in its lesson, where the examples that teach it are right above.
811 exercises · page 8 of 14
- Fix the countdownTrack 10 · Dates and timesDebugging · ●●●Members
- Best-selling productsTrack 10 · The collections moduleGuided · ●●Members
- Group support tickets by agentTrack 10 · The collections moduleChallenge · ●●●Members
- Shipment records with namesTrack 10 · The collections moduleChallenge · ●●●Members
- Rolling average of sensor readingsTrack 10 · The collections moduleEdge cases · ●●●●Members
- Round-robin fixturesTrack 10 · itertools and functoolsGuided · ●●Members
- Running account balanceTrack 10 · itertools and functoolsGuided · ●●Members
- Fix the daily sales totalsTrack 10 · itertools and functoolsDebugging · ●●●Members
- A pricing pipelineTrack 10 · itertools and functoolsChallenge · ●●●●Members
- Use the units moduleTrack 10 · Writing your own modulesGuided · ●●Members
- An invoice from two modulesTrack 10 · Writing your own modulesChallenge · ●●●Members
- Fix the vanishing moduleTrack 10 · Writing your own modulesDebugging · ●●Members
- Fix the stale currency labelTrack 10 · Writing your own modulesEdge cases · ●●●Members
- Use a package moduleTrack 10 · Packages and the main guardGuided · ●●Members
- A script that is also a moduleTrack 10 · Packages and the main guardChallenge · ●●●Members
- Fix the missing submoduleTrack 10 · Packages and the main guardDebugging · ●●●Members
- Total of a JSON orderTrack 10 · A tour of the standard libraryGuided · ●●Members
- Exact invoice total from CSVTrack 10 · A tour of the standard libraryChallenge · ●●●●Members
- Find order codes in messagesTrack 10 · A tour of the standard libraryChallenge · ●●●Members
- Sort uploads by file typeTrack 10 · A tour of the standard libraryEdge cases · ●●●Members
- Build a pip commandTrack 10 · pip and PyPIGuided · ●●Members
- Which version is newer?Track 10 · pip and PyPIChallenge · ●●●Members
- Classify an upgradeTrack 10 · pip and PyPIChallenge · ●●●Members
- Read pip list outputTrack 10 · pip and PyPIEdge cases · ●●●Members
- The right activation commandTrack 10 · Virtual environmentsGuided · ●●Members
- Keep the venv out of GitTrack 10 · Virtual environmentsChallenge · ●●●Members
- Fix the scheduled-task pathTrack 10 · Virtual environmentsDebugging · ●●●Members
- Parse a requirement lineTrack 10 · Dependencies and requirementsGuided · ●●●Members
- Does a version satisfy a specifier?Track 10 · Dependencies and requirementsChallenge · ●●●●Members
- Find unpinned requirementsTrack 10 · Dependencies and requirementsEdge cases · ●●●Members
- Summarise a pyproject.tomlTrack 10 · Dependencies and requirementsChallenge · ●●●Members
- Describe a function from its signatureTrack 10 · Reading documentation and choosing packagesGuided · ●●Members
- Review a package before adding itTrack 10 · Reading documentation and choosing packagesChallenge · ●●●Members
- Spot a look-alike package nameTrack 10 · Reading documentation and choosing packagesEdge cases · ●●●●Members
- Milestone 1: the slugs moduleTrack 10 · Reading documentation and choosing packagesProject milestone · ●●●Members
- Milestone 2: the money moduleTrack 10 · Reading documentation and choosing packagesProject milestone · ●●●●Members
- Milestone 3: a script that uses the packageTrack 10 · Reading documentation and choosing packagesProject milestone · ●●●●Members
- Milestone 4: document and check the packageTrack 10 · Reading documentation and choosing packagesProject milestone · ●●●●Members
- Define a Parcel classTrack 11 · Classes and objectsGuided · ●
- Turn dictionaries into objectsTrack 11 · Classes and objectsChallenge · ●●
- Fix the room reportTrack 11 · Classes and objectsDebugging · ●●
- Find the lightest parcelTrack 11 · Classes and objectsEdge cases · ●●
- A wallet with sensible defaultsTrack 11 · __init__ and attributesGuided · ●Members
- A product that checks its dataTrack 11 · __init__ and attributesChallenge · ●●●Members
- Fix the orders that share itemsTrack 11 · __init__ and attributesDebugging · ●●●Members
- Reject bad thermostat settingsTrack 11 · __init__ and attributesEdge cases · ●●●Members
- Add a deposit methodTrack 11 · MethodsGuided · ●●Members
- A shopping cartTrack 11 · MethodsChallenge · ●●●Members
- Chain invoice callsTrack 11 · MethodsChallenge · ●●●Members
- Fix the timesheetTrack 11 · MethodsDebugging · ●●Members
- Withdrawals at the limitsTrack 11 · MethodsEdge cases · ●●●Members
- A readable bookTrack 11 · String representationsGuided · ●Members
- Money that prints wellTrack 11 · String representationsChallenge · ●●●Members
- Shipment labels for 0, 1 and many itemsTrack 11 · String representationsEdge cases · ●●●Members
- Fix the task displayTrack 11 · String representationsDebugging · ●●Members
- Number the ticketsTrack 11 · Class attributes, classmethods and staticmethodsGuided · ●●Members
- Build employees from CSV rowsTrack 11 · Class attributes, classmethods and staticmethodsChallenge · ●●●Members
- Fix the teams that share membersTrack 11 · Class attributes, classmethods and staticmethodsDebugging · ●●●Members
- VAT that follows the classTrack 11 · Class attributes, classmethods and staticmethodsEdge cases · ●●●Members
- Celsius and FahrenheitTrack 11 · Encapsulation and propertiesGuided · ●●Members