Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Conditional Statements - Exercise / 03. Time + 15 Minutes
dkyoseff
Jul 9th, 2022
839
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
hours
=
int
(
input
(
)
)
minutes
=
int
(
input
(
)
)
+
15
if
minutes
>
59
:
hours +
=
1
minutes -
=
60
if
hours
>
23
:
hours
=
0
print
(
f
'{hours}:{minutes:02d}'
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐ Free $$$ Mehtod
CSS | 2 min ago | 0.71 KB
⭐ Free Money Method ⭐
CSS | 5 min ago | 0.72 KB
✅ Crypto admin access
5 min ago | 0.43 KB
⭐ Free $$$ Mehtod
CSS | 13 min ago | 0.71 KB
2 Day in +12.000$ ⭐
CSS | 13 min ago | 0.71 KB
⭐ Free $$$ Mehtod
CSS | 23 min ago | 0.71 KB
✅ Instant Profits with Crypto
CSS | 24 min ago | 0.71 KB
2 Day in +12.000$ ⭐
CSS | 26 min ago | 0.71 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!