python-by-example-150-chall.../challenges1-11/challenage-009.py
2019-07-17 09:56:46 +03:00

6 lines
216 B
Python

days = int(input('Enter the number of days : '))
hours = days*24
minutes = hours*60
seconds = minutes * 60
print('In {0} days there are {1} hours , {2} minutes and {3} seconds'.format(days, hours, minutes, seconds))