Advertisement
vencinachev

Python-DISCO

Mar 24th, 2021
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. print('====> DISCO UKTC <====')
  2. name = input('Enter your name: ')
  3. age = int(input('Enter your age: '))
  4. money = float(input('Enter your money: '))
  5.  
  6. # && -> and, || -> or, ! -> not
  7. if age >= 18 or money >= 20:
  8.     print(name + ', welcome to the disco!')
  9. else:
  10.     print('Bye bye, ' + name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement