Advertisement
Guest User

Untitled

a guest
Apr 11th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. def main():
  2. while True:
  3. username = input ("Enter Username: ")
  4. password = input ("Enter Password: ")
  5.  
  6. if username == 'Filip' and password == 'XD' or "Miroslav" and "plusko12":
  7. import time
  8. time.sleep(1)
  9. print ("Login successful!")
  10. logged()
  11. else:
  12. print("STOP")
  13.  
  14.  
  15. def logged():
  16. import time
  17. time.sleep(1)
  18. print ("Welcome to the Server")
  19. #Booting now
  20. print("Booting will begin shortly")
  21. import time
  22. time.sleep(3)
  23. print("Starting.................0%")
  24. # ... and there's more stuff in here
  25. quit(0)
  26.  
  27. main()
  28.  
  29. while True:
  30. username = input ("Enter Username: ")
  31. password = input ("Enter Password: ")
  32.  
  33. if username == 'Filip' and password == 'XD' or "Miroslav" and "plusko12":
  34.  
  35. if (username == 'Filip' and password == 'XD') or ("Miroslav" and "plusko12")
  36. # |---this is always True---|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement