Advertisement
skashminzim

as2

May 7th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. n=int(input("Input seconds:"))
  2. h=n/3600
  3. z=(n%3600)
  4. m=z/60
  5. s=z%60
  6. print("%d hour(s) %d minute(s) %d second(s)"%(h,m,s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement