79694537

Date: 2025-07-08 16:20:40
Score: 1
Natty:
Report link

Here's a way simpler solution if anyone is still looking for one:

    time = 0.6 # this is in minutes per the OP
    hours = time / 60 # converts the minutes to hours
    minutes = hours * 60 % 60
    seconds = minutes * 60 % 60
    result = "%02d:%02d:%02d" % (hours, minutes, seconds)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andy Swineford