Question: 6. Write a Python program that asks for an interest rate. The program computes the number of years that it takes an initial investment

6. Write a Python program that asks for an interest rate. The 

6. Write a Python program that asks for an interest rate. The program computes the number of years that it takes an initial investment of $200 to grow to $250 given the annual interest rate that the user entered. In your output the rate should be immediately followed by %. A sample run: >>main() Enter the annual interest rate: 6 At 6.0% 200 gets to 250 in 4 years

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Program Sample output Rawcode import math importing m... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!