Advertisement
desislava_topuzakova

05. Password Guess

Apr 10th, 2021
1,212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. # 1. парола (текст)
  2. # 2. проверка дали парола е "s3cr3t!P@ssw0rd" -> Welcome
  3. # в проивен случай: "Wrong password!"
  4. password = input()
  5. if password == "s3cr3t!P@ssw0rd":
  6.     print("Welcome")
  7. else: # паролата не е "s3cr3t!P@ssw0rd"
  8.     print("Wrong password!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement