[Solved] Python code HW- Password check program [closed]


The line number where you error occurs should be clearly noted. From my own call:

    while guess = password:
                ^
SyntaxError: invalid syntax

In addition, it’s a logic error of sorts: you want the user to keep guessing while the guess is incorrect, that is guess != password.

1

solved Python code HW- Password check program [closed]