Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. username=input("please enter your username")
  2. password=input("please enter your password")
  3. if username=="student1":
  4. password=="password123"
  5. print("accsess granted")
  6.  
  7. else username!="student1":
  8. password !="password123"
  9. print "inncorect login"
  10.  
  11. username = input("please enter your username")
  12. password = input("please enter your password")
  13.  
  14. if username == "student1" and password == "password123":
  15. print("access granted")
  16.  
  17. else:
  18. print("inncorect login")
  19.  
  20. if username=="student1" and password=="password123":
  21. print("accsess granted")
  22.  
  23. if username=="student1":
  24. password=="password123"
  25. print("accsess granted")
  26.  
  27. else
  28. password !="password123"
  29. print "inncorect login"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement