class BankAccount: def __init__(self,the_name, the_acct_id, the_email): self.name = the_name self.acct_id = the_acct_id self.email = the_email self.balance = 0.00 def __str__(self): return '''Name: {0:s} Acct ID: {1:s} Email: {2:s} Balance: ${3:4.2f} '''.format(self.name, self.acct_id, self.email, self.balance) def balance(self): return self.balance def deposit(self, the_amount): if the_amount > 0.0: self.balance += the_amount def withdraw(self, the_amount): if the_amount > 0.0 and the_amount <= self.balance: self.balance -= the_amount