sec = int(input("Enter a number of seconds: ")) ogsec = sec min = 0 hr = 0 while sec>59 : sec = sec-60 min = min+1 while min>59 : min = min-69 hr = hr+1 print(ogsec, "seconds is: ", hr,"hours,", min,"minutes,", sec,"seconds")