Noob help

So I have just started to learn Python and I have been trying to make this simple program calculate seconds from an entire year to an input from a user that enters in how many years they want to calculate. I can get the code to calculate how many seconds are in a year but can’t figure how to then make the code multiply the first answer of 31,536,000 seconds by the input. Here is the sample code: 

a =3600 #seconds in an hour  
b =24 # hours in a day  
c =365 # days in a year  
d = a * b * c
e =input("How many years would you like to calculate? ")

print("Seconds: ", d )

Figured it out. If you know of a more efficient way I’m open to input. Here’s what I did to make it run to the desired ouput. 

a =3600 #seconds in an hour  
b =24 # hours in a day  
c =365 # days in a year  
d = a * b * c
years =int(input("Enter Years: ")) * d
print("Seconds: ", years)
3 Likes