if (adivinhe_password == list (senha):

line 11
    if(guess_password == list(password):
                                       ^
Tired Tern