seconds_input = int(input("Enter a number in seconds: ")) hours = seconds_input // 3600 minutes = (seconds_input % 3600) // 60 seconds = seconds_input % 60 print(seconds_input, "second is: ", hours, "h", minutes, "m", seconds, "s")