Advertisement
Guest User

Break this.

a guest
Jan 11th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PyCon 0.62 KB | None | 0 0
  1. 1 #Login and username.
  2.   2 print("Register please.")
  3.   3 username = input("Username: ")
  4.   4 password = input("Password: ")
  5.   5 print("Program is now locked, input username and password")
  6.   6 bravo_response = None
  7.   7 charlie_response = None
  8.   8 while bravo_response != username:
  9.   9     bravo_response = input("Username: ")
  10.  10     if bravo_response != username:
  11.  11         print("Incorrect")
  12.  12 while charlie_response != password:
  13.  13     charlie_response = input("Password: ")
  14.  14     if charlie_response != password:
  15.  15         print("Incorrect")
  16.  16 print("Login Correct")
  17.  17
  18.  18
  19.  19
  20.  20
  21.  21
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement