AI Features

Solution Review: Implement a Banking Account

This review provides a detailed explanation of the 'Implement a Banking Account' challenge.

We'll cover the following...

Solution

Python 3.5
class Account:
def __init__(self, title=None, balance=0):
self.title = title
self.balance = balance
class SavingsAccount(Account):
def __init__(self, title=None, balance=0, interestRate=0):
super().__init__(title, balance)
self.interestRate = interestRate

Explanation

...
Ask