Compare commits

..

No commits in common. "06d93758a4630c3115553b0aa07a85b27e5d7761" and "7fc74c8e1f15aab7434d1a6f10a8d40bfa9a4476" have entirely different histories.

1 changed files with 1 additions and 4 deletions

5
wordle.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/bin/env python
import random
def getw():
@ -9,7 +7,6 @@ def getw():
lines = f.readlines()
palabra = lines[number][0:5]
palabra = "flocs"
f.close()
return palabra
@ -33,7 +30,7 @@ def word(palabra):
break
while i != 5:
if guess[i] == palabra[i]:
guess = guess[:i] + guess[i].upper() + guess[i+1:]
guess = guess.replace(guess[i], guess[i].upper())
i += 1
print(guess)
hp -= 1