class Account():
def __inti__(self,owner,balance):
self.owner= owner
self.balance=balance
def deposit(self,dep_amt):
self.balance=self.balannce+dep_amt
print(f"Added{dep_amt}to the balance")
def withdrawl(self,wd_amt):
if self.balance>=wid_amt:
self.balance=self.balance-wd_amt
print('Withdrawl accepted')
else:
print("sorry not enough balance!")
def __str__(self):
return f"Owner:{self.owner}\nBalance:{self.balance}"