Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Login.")
- name = input("Name: ")
- password = input("Password: ")
- count = 1
- while count < 4 and name.lower() == "iita" and password.lower() == "life":
- print("Welcome back.")
- while name.lower() != "iita" or password.lower() != "life":
- print("Try again.")
- name = input("Name: ")
- password = input("Password: ")
- if count >= 4:
- print("You have failed.")
- print(" ")
- print(" ")
- print(" ")
- guess = input("Guess my name: ")
- count == 0
- while count < 3 and guess.lower() != "iita":
- print("Wrong.")
- count = count + 1
- guess = input("Try again: ")
- if guess.lower() != "iita" and count >= 3:
- print("You are wrong.")
- print("You have failed.")
- while guess.lower() == "iita":
- print("You got it!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement