here is what i came up with 
Class BankAccount(object):
def_init_(self, balance):
self.Balance = balance
def deposit(self, amount):
self.Balance = amount
def withdraw(self,amount):
if(self.Balance += amount):
return invalid transaction
#but my challange now is :Create a subclass MinimumBalanceAccount of the 
BankAccount class.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to