while (not acertou and not enforcou):
chute= input("Qual letra?")
index = 0
for letra in palavra_secreta:
if (chute == letra):
print("Encontrei a letra {} na posição {}".format(letra, index))
index = index + 1
print("Jogando...")
ao executar dá esse erro:
IndentationError: expected an indented block after 'while' statement on line 17
PS C:\Users\dieis> & C:/Users/dieis/AppData/Local/Programs/Python/Python310/python.exe c:/users/dieis/downloads/jogos-capitulo9/forca.py File "c:\users\dieis\downloads\jogos-capitulo9\forca.py", line 19 chute = input("Qual letra?") ^ IndentationError: expected an indented block after 'while' statement on line 17 PS C:\Users\dieis> & C:/Users/dieis/AppData/Local/Programs/Python/Python310/python.exe c:/users/dieis/downloads/jogos-capitulo9/forca.py File "c:\users\dieis\downloads\jogos-capitulo9\forca.py", line 19 chute = input("Qual letra?") ^ IndentationError: expected an indented block after 'while' statement on line 17 PS C:\Users\dieis>