def main():
print "This program calculates the future value of a 10-year investment"
principal = input("enter the initial principle: ")
years = input("enter number of years you want to invest: ")
apr = input("Enter the APR: ")
for i in range(years):
principal = principal * (1 + apr)
print "The amount in" years "years is: " , years, principal
main()
我在这里遇到错误。我如何获得最终的打印语句以显示输入值。