SHARE
TWEET

Password Guess

Sim0o0na May 3rd, 2018 337 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top