'''
program to convert Seconds in to 
hours, minutes and seconds.
'''
def secToTime (sec):
	seconds = sec % 60
	pre_minutes = (sec-seconds)/60
	minutes = pre_minutes % 60
	pre_hours = (pre_minutes-minutes)/60
	hours = pre_hours /60
	print("\n",int(hours),"hours\n",int(minutes),"minutes\n",int(seconds),"seconds\n")

while True:
	secToTime(int(input("enter no of seconds : ")))

b481055e36b878db5bbc1915556f281918755876
<mask token>

<mask token>


def secToTime(sec):
    seconds = sec % 60
    pre_minutes = (sec - seconds) / 60
    minutes = pre_minutes % 60
    pre_hours = (pre_minutes - minutes) / 60
    hours = pre_hours / 60
    print('\n', int(hours), 'hours\n', int(minutes), 'minutes\n', int(
        seconds), 'seconds\n')


<mask token>

<mask token>


def secToTime(sec):
    seconds = sec % 60
    pre_minutes = (sec - seconds) / 60
    minutes = pre_minutes % 60
    pre_hours = (pre_minutes - minutes) / 60
    hours = pre_hours / 60
    print('\n', int(hours), 'hours\n', int(minutes), 'minutes\n', int(
        seconds), 'seconds\n')


while True:
    secToTime(int(input('enter no of seconds : ')))

'''
program to convert Seconds in to 
hours, minutes and seconds.
'''
def secToTime (sec):
	seconds = sec % 60
	pre_minutes = (sec-seconds)/60
	minutes = pre_minutes % 60
	pre_hours = (pre_minutes-minutes)/60
	hours = pre_hours /60
	print("\n",int(hours),"hours\n",int(minutes),"minutes\n",int(seconds),"seconds\n")

while True:
	secToTime(int(input("enter no of seconds : ")))
