Compare commits
No commits in common. "ea560a485268f84f631b3f4e1a2aa8f65037788c" and "7fc74c8e1f15aab7434d1a6f10a8d40bfa9a4476" have entirely different histories.
ea560a4852
...
7fc74c8e1f
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/env python
|
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
def getw():
|
def getw():
|
||||||
|
@ -32,7 +30,7 @@ def word(palabra):
|
||||||
break
|
break
|
||||||
while i != 5:
|
while i != 5:
|
||||||
if guess[i] == palabra[i]:
|
if guess[i] == palabra[i]:
|
||||||
guess = guess[:i] + guess[i].upper() + guess[i+1:]
|
guess = guess.replace(guess[i], guess[i].upper())
|
||||||
i += 1
|
i += 1
|
||||||
print(guess)
|
print(guess)
|
||||||
hp -= 1
|
hp -= 1
|
||||||
|
|
Loading…
Reference in New Issue