Ver originalreal_password = "1234" while True: passwd = input("Introduce el password\n") if passwd == real_password: break else: print("Password incorrecto")