Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. age = 27
  2.  
  3. isDrunk = False
  4.  
  5. if age >= 18 and not isDrunk:
  6. print('You are adult and you can buy alcohol')
  7. else:
  8. print('Sorry, we cannot sell you alcohol')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement