Arreglo de letras repetidas y shebang #1

Merged
siengrain merged 2 commits from dendy/wordleTest:master into master 2022-02-01 12:00:31 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9bc1f91b0b - Show all commits

View File

@ -32,7 +32,7 @@ def word(palabra):
break
while i != 5:
if guess[i] == palabra[i]:
guess = guess.replace(guess[i], guess[i].upper())
guess = guess[:i] + guess[i].upper() + guess[i+1:]
i += 1
print(guess)
hp -= 1