Kaffy said: »
what world do you live in where people measure everything in seconds only?
We live in a world of computers? Which btw measure everything in seconds (much finer precision than that actually)
If you actually understand how computers keep time (google "epoch time") you can realize the Y2k was a fallacious problem and it actually hasn't happened yet.
Anyways this should solve everyone's problem:
Code
timeremaining = 123456 if timeremaining > 3600: print(f'{timeremaining/3600.0:0f} hrs') elif timeremaining > 60: print(f'{timeremaining/60:0f} min') else: print(f'{timeremaining:0f} sec')
Not that I expect SE to do that, but its a few lines of code.