code: def seconds_to_time(seconds):
      
      minutes, seconds = divmod(int(seconds), 60)
      hours, m = divmod(minutes, 60)
      if hours:
          return _HOURS_OF_ELAPSED % (hours, m, seconds)
      else:
          return _MINUTES_OF_ELAPSED % (m, seconds)
docs: Consistent time format to be displayed on the elapsed time in screen.
      :param seconds: seconds