DiYane

Drink Something

Jul 2nd, 2023 (edited)
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | Help | 0 0
  1. age = int(input())
  2.  
  3. if age <= 14:
  4.     print("drink toddy")
  5. elif age <= 18:
  6.     print("drink coke")
  7. elif age <= 21:
  8.     print("drink beer")
  9. else:
  10.     print("drink whisky")
Add Comment
Please, Sign In to add comment