Seconds in a day
Sign in to test your solution.
# Seconds in a day program
# -------------------------
# Subprograms
# -------------------------
def seconds_to_hours(seconds):
def seconds_to_minutes(seconds):
def seconds_remaining(seconds):
# -------------------------
# Main program
# -------------------------
print(hours, "hours", minutes, "minutes", seconds, "seconds")
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.
Python sandbox
This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.