Advertisement
Guest User

Untitled

a guest
Sep 7th, 2017
1,932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. username = ""
  2. password = ""
  3.  
  4. while username != "MrDLeeman" or password != "Leemanb83":
  5.  
  6. username = input("please enter your username: ")
  7. password = input ("Please enter your password: ")
  8.  
  9. if username != "MrDLeeman" or password != "Leemanb83":
  10. print ("Incorrect username or password please retry")
  11. continue
  12. else:
  13. break
  14.  
  15. print("Correct username and password, please continue.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement