Skip to contentSkip to navigation

Module 6 of 6, Practical Python

Practical Projects

Build three programs that read data, handle bad input and keep state in classes.

module checksSign in to track

  • Lessons complete-, not done
  • Lesson quizzes taken-, not done
  • Module Labs passed-, not done
  • Module exam passed at 80%-, not done
lessons
3
quiz questions
36
reading time
24 min
exam length
15 Q
coding exercises
4

Lessons

  1. Project: Text Word StatisticsBuild a text analyser: read a document from a file, clean and split it into words, count them, rank the most common, and print a tidy report of its statistics. 8 min 12 questions
  2. Project: Personal Expense TrackerBuild an expense tracker class that validates each entry, totals spending by category and month, and saves its records to a CSV file so they survive between runs. 8 min 12 questions
  3. Project: OOP Bank Account SystemModel a small bank with classes: accounts that keep a transaction history, a family of exceptions for refused operations, savings and current accounts with their own rules, and safe transfers. 8 min 12 questions

Lab: write it yourself

Real Python, real checks: write your answer, press Run checks, and keep going until it passes. (1 exercises)

All module exercises

The Lab needs an account. Sign in or create a free ID to run these exercises.

Lab 1: Word counter

Sign-in required

Count the words in "practice makes perfect every day".

Sign in to practise

Sign in to access the interactive Python editor, write and run code checks against automated tests, use hints, and save your practice. Practice does not award XP.