Simpler solution: for i in range(3): if input("Password: ") == "unicorn": print("Welcome in..") break else: print("That must have been complicated..") -- Bob Gailer 919-636-4239 Chapel Hill NC