Answer:
Class SavingsAccount( ):
annual_interest_rate
def.__init__(self, savings_balance):
self.savingsBalance = savings_balance
def calculatMonthlyInterest( ):
self.savingsBalance += (self.savingsBalance * annual_interest_rate) /12
return self.savingsBalance
def setInterestRate_(self, value):
self.annual_interest_rate = value
Step-by-step explanation:
The python class above is used to create a savings account data for a customer, with methods to change the static interest rate and to calculate the monthly interest rate.