Write a Python program that calculates and prints the number of seconds in a year.
days = 365
hours = 24
mins = 60
secs = 60
secsInYear = days * hours * mins * secs
print("Number of seconds in a year =", secsInYear)Number of seconds in a year = 31536000