import time def f_time(n): return time.strftime('%H:%M:%S', time.gmtime(n)) if __name__ == '__main__': v_sec = int(input("Enter the number of seconds: ")) print("{} seconds is: {} ".format(v_sec, f_time(v_sec)))