Reference no: EM132154711
You are upgrading the ATM system of the previous problem using a new object-oriented design.
You must create a Python class, SavingsAccount, whose objects have the following instance variables: accountNumber, customerName and balance.
Write the constructor method, init (self, acctNum acctName, acctBal) which creates an account with the given values for the instance variables.
Also write methods getBalance (self), which returns the balance of an account, deposit (self, amt), which increases the balance by amt, and withdraw (self, amt), which decreases the account balance by amt. Assume the balance, deposit, and withdrawal amounts are all in cents (integers).