Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. # sign up
  2. print("Hi , this is a login page")
  3. username = input("Please enter your name: ")
  4. if len(username) >= 10:
  5. print("Too long make it shorter")
  6. elif len(username) <=5:
  7. print("Too short")
  8. elif len(username) in range(6,10):
  9. print("Very good ")
  10. else :
  11. print("Please enter a password , or else I will rape u muahaha \n")
  12. userpass = input("Please enter a password: ")
  13. if len(userpass) <= 5:
  14. print("Too short")
  15. elif len(userpass) in range(6,11):
  16. print("perfect , just like yuru")
  17. elif len(userpass) > 11:
  18. print("Too long bro , just like your dick")
  19. else:
  20. print("Enter a password")
  21. #log in
  22. print("Enter your username and password")
  23. userlogname=input("Enter your username")
  24. userlogpass=input("Enter your password")
  25. if userlogname == username:
  26. print("Correct now enter your password")
  27. else:
  28. print("Wrong name try again")
  29. if userlogpass == userpass:
  30. print("Your are in")
  31. else:
  32. print("Wrong password")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement