Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = input("Enter your username: ")
- print("Welcome, " + user)
- passwd = input("Enter your password: ")
- while(passwd != 'password1'):
- passwd= input("Password incorrect, Please enter the password for " + user + ": ")
- if(passwd == 'password1'):
- print("Sucessful login!")
- print("Welcome, " + user)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement