Advertisement
Sim0o0na

Password Guess

May 3rd, 2018
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. # 1. Read input string
  2. password = input()
  3.  
  4. # 2. Compare input with "s3cr3t!P@ssw0rd"
  5. #   a: match - > print(Welcome)
  6. #   b: not -> print(Wrong password!)
  7.  
  8. if password == "s3cr3t!P@ssw0rd":
  9.     print("Welcome")
  10. else:
  11.     print("Wrong password")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement