(Population projection) Rewrite Exercise 1.11 to prompt the user to enter the number of years and displays the population after that many years. Here is a
sample run of the program:
Enter the number of years:5
The population in 5 years is 325932970
#Prompt the user to the number of years
Years=int(input('Enter the number of years: '))
#Calculate population projection
Population = int(312032487 + (((31536000 / 7) - (31536000 / 13)+ (31536000 / 45)) * Years))
#Display the result
print("The population in",Years,"years is", Population)
Output:
Enter the number of years: 5
The population in 5 years is 325932970