Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Drink Something
DiYane
Jul 2nd, 2023
(
edited
)
222
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| Help
|
0
0
raw
download
clone
embed
print
report
age
=
int
(
input
(
)
)
if
age
<=
14
:
print
(
"drink toddy"
)
elif
age
<=
18
:
print
(
"drink coke"
)
elif
age
<=
21
:
print
(
"drink beer"
)
else
:
print
(
"drink whisky"
)
Tags:
python
fundamentals
Add Comment
Please,
Sign In
to add comment
Public Pastes
Nine Domains for Sale
7 hours ago | 0.60 KB
How to Reorder Pages
Python | 1 day ago | 7.77 KB
How to Extract Pages from PDF
Python | 1 day ago | 8.76 KB
How to Add Header or Footer
Python | 1 day ago | 11.39 KB
tmp
1 day ago | 0.03 KB
Untitled
2 days ago | 9.20 KB
Tabs
2 days ago | 1.39 KB
temp sglang key
3 days ago | 0.07 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!