Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
as2
skashminzim
May 7th, 2018
109
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
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
Public Pastes
Untitled
20 min ago | 15.88 KB
Untitled
20 min ago | 8.75 KB
Untitled
2 hours ago | 7.75 KB
Untitled
2 hours ago | 17.19 KB
Untitled
4 hours ago | 13.18 KB
Untitled
6 hours ago | 7.50 KB
HD2 - destroyed Hardware
Python | 6 hours ago | 0.19 KB
Untitled
8 hours ago | 13.82 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!