Advertisement
Guest User

python 1.py

a guest
Jan 18th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. username = ["ugo"]
  2. input1 = input('enter your name ')
  3. password = input('enter your password')
  4.  
  5. if input1 == 'ugo' and password == '260':
  6.     print('welcome', input1)
  7.     add = input('hey add numbers ')
  8.     addd = input('second number ') 
  9.    
  10.     added=add +addd
  11.     print(added)
  12.    
  13. else:
  14.     print('you are not registered')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement