You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Define the Account class here class Account(acno,acname,acntbal): #Define the AccountDemo class here #Sample main section. #Do not remove the below portion of code. if __name__ == '__main__': acno=int(input()) acname=raw_input() acntbal=int(input()) depamnt=int(input()) withamnt=int(input()) acnt=Account(acno,acname,acntbal) acntdemoobj=AccountDemo() print(acntdemoobj.depositAmnt(acnt,depamnt)) print(acntdemoobj.withdrawAmnt(acnt,withamnt))