palavra_secreta=["s", "o","l"]
letras_descobertas=[]
for i in range (0,len(palavra_secreta)):
letras_descobertas.append("*")
acertou = False
while acertou == False :
letra =str(input("Digite uma letra:"))
for i in range(0,len(palavra_secreta)) :
if letra == palavra_secreta[i]:
letras_descobertas[i]=letra
print(letras_descobertas[i])
acertou = True
for x in range(0,len( letras_descobertas)):
if letras_descobertas[x]=="*":
acertou = False
On this page of the site you can watch the video online Jogo da forca em Python with a duration of hours minute second in good quality, which was uploaded by the user Em python 23 June 2021, share the link with friends and acquaintances, this video has already been watched 353 times on youtube and it was liked by 3 viewers. Enjoy your viewing!