Advertisement
FelipeNeto2

IDADE NA BALADA

Jul 23rd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. idade = int(input('Digite a sua idade: '))
  2. flag = False
  3.  
  4. if(idade >= 18):
  5.   flag = True
  6.  
  7. if(flag==True):
  8.   print("pode")
  9. else:
  10.   print("não pode")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement