Advertisement
Spocoman

04. Password Guess

Dec 10th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. password = input()
  2. if password == 's3cr3t!P@ssw0rd':
  3.     print('Welcome')
  4. else:
  5.     print('Wrong password!')
  6.  
  7.  
  8. Taрикатско решение:)
  9.  
  10. print('Welcome' if input() == 's3cr3t!P@ssw0rd' else 'Wrong password!')
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement