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))