Part 4 · Section 03

Project 1

Time to use the tools from the classes section on something realistic. In this project you’ll design a class that represents a bank account: the holder’s validated names, a balance that can only change through transactions, an interest rate shared by every account, and a confirmation code for every deposit, withdrawal and interest payment. Along the way you’ll keep asking where each piece belongs: in the instance or the class, and in an instance, class or static method.

This project practices:

Lectures

  1. 01Project 1✓
  2. 02TimeZone Class✓
  3. 03Transaction Numbers✓
  4. 04Account Number, First Name, Last Name✓
  5. 05Adding Preferred TimeZone Property✓
  6. 06Balance✓
  7. 07Interest Rate✓
  8. 08Transaction Codes✓
  9. 09Confirmation Code✓
  10. 10Transactions✓
  11. 11Testing using unittest✓

Practice: quiz & exercises

8 quiz questions · 5 coding exercises

Go to practice →