# they enter a number # it then goes and checks if its above the time for hours (3,600) # then it takes that amount away and saves it in a variable # then it does it agian until it is out of time in hours then # moves and does it for minutes once it's all done # it then uses the variables to print (hr, min, seconds) input1 = int ( input ("enter a number of second:") ) inputcopy = input1 hours = 0 mins = 0 seconds = 0 while input1 >= 3600: input1 = input1 - 3600 hours = hours + 1 while input1 >= 60: input1 = input1 - 60 mins = mins + 1 seconds = input1 print (inputcopy, "seconds is:", hours, "hr", mins, "mins", seconds, "secs")