Question: write in python program please Write a python program that calculates the interest on a loan. The program must ask the user their name, amount
Write a python program that calculates the interest on a loan. The program must ask the user their name, amount borrowed, and number of years after which they plan to pay it back. It then calculates the total amount owed at a 10% interest rate as follows: total amount owed amount borrowed + (amount borrowed x number of years x 0.1) Finally, it prints the following: Hi names, at the end of number of years years you will owe $ kamount owed> Example Input Enter name: Alice Enter amount borrowed: 1000 Enter number of years after which you plan to pay it back: 2 Example output Hi Alice, at the end of 2 years you will owe $ 1200.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
