Banking.py

class Bank: def login(self, username, password): return True

class User: def __init__(self, theUsername, thePassword): self.username = theUsername self.password = thePassword class Account: def __init__(self, user): self.balance = 0 self.user = user def add_money(self, amount): self.balance = self.balance + amount print "Account just added %d bucks; new balance is: %d" % (amount, self.balance) def withdraw_money(self, amount): self.balance = self.balance - amount print "Account just withdrew %d bucks; new balance is: %d" % (amount, self.balance)