def main(): print("This program computes the future value of an investment") principal = input("Enter the initial principal: ") initial = principal apr = input("Enter the annual interest rate: ") years = input("Enter the number of years for the investment: ") print print "***************************************** " print "* Thank you for investing in UMW Mutual *" print "***************************************** " print for i in range (years): principal = principal * ( 1 + apr/100.0) print "The value of your initial investment $%0.2f" % (initial) print "with an apr of %0.3f percent invested for %2d years is $%0.2f" % (apr,years,principal) main()