Question: 1 . interestRate.py ( 2 0 Points ) Write a program that calculates the ending balance of a 1 - year certificate of deposit for
interestRate.py Points
Write a program that calculates the ending balance of a year certificate of deposit for the new and existing customers. Consider that there will be rates for existing customers.
Hints:
Prompt for type of customer existing or new
Prompt for the initial investment
Write a ifelif statement to verify investments for existing and new customer
for existing customer the interest rate is if the customer invested $ or more
otherwise the interest rate is
for new customer the interest rate is
Calculate the ending balance. formula: invest interestRate
Display results
Expected Output:
Enter n if customer is new, or e for existing: e
Please enter investment amount:
Interest rate
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
