Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #Login System
- print "Coded by GeorgeBakalis"
- print "Login System 1"
- Swsto_Username = "User"
- Swsto_Password = "Pass"
- loop = 'true'
- while (loop == 'true'):
- username = raw_input("Enter your username: ")
- if (username == Swsto_Username):
- password = raw_input("Enter your password: ")
- if (password == Swsto_Password):
- print "Succesful login as " + username
- loop = 'false'
- else:
- print "Wrong Password!"
- else:
- print "Wrong Username!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement