Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n=int(input("Input seconds:"))
- h=n/3600
- z=(n%3600)
- m=z/60
- s=z%60
- print("%d hour(s) %d minute(s) %d second(s)"%(h,m,s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement