vencinachev

OS-Python

Mar 22nd, 2021 (edited)
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. name = input('Enter your name: ')
  2. age = int(input('Enter your age: '))
  3. money = float(input('Enter your money: '))
  4.  
  5. if age >= 18 and money >= 15:
  6.  print('Hello, ' + name + '. Welcome to the disco!')
  7. else:
  8.  print('Bye bye! You are too young or have no money!')
Add Comment
Please, Sign In to add comment