<filename>ch_1/seconds2years.py
# Exercise 1.3
# Author: <NAME>

seconds = raw_input('Type number of seconds to be converted to years\n')
years = float(seconds) / (365.25 * 24 * 60 * 60)
print "%.2f years" % (years)

"""
Sample run:
python seconds2years.py
Type number of seconds to be converted to years
1e9
31.69 years
"""

<filename>ch_1/seconds2years.py
# Exercise 1.3
# Author: <NAME>

seconds = raw_input('Type number of seconds to be converted to years\n')
years = float(seconds) / (365.25 * 24 * 60 * 60)
print "%.2f years" % (years)

"""
Sample run:
python seconds2years.py
Type number of seconds to be converted to years
1e9
31.69 years
"""

# Exercise 1.3 # Author: <NAME> Sample run: python seconds2years.py Type number of seconds to be converted to years 1e9 31.69 years