Zaktualizuj 'hangman.py'
This commit is contained in:
parent
7b4687e77c
commit
e142f07786
@ -65,12 +65,12 @@ def n_main():
|
|||||||
guess_word_list.append(guess_word)
|
guess_word_list.append(guess_word)
|
||||||
guessed_line = type_guess_word(s_word, guess_word,guessed_line)
|
guessed_line = type_guess_word(s_word, guess_word,guessed_line)
|
||||||
print (guessed_line)
|
print (guessed_line)
|
||||||
print ("Odgadnaleś ={}".format(guess_word_list))
|
print ("Odgadnales ={}".format(guess_word_list))
|
||||||
print("========================================")
|
print("========================================")
|
||||||
tries = tries-1
|
tries = tries-1
|
||||||
if (tries < 1):
|
if (tries < 1):
|
||||||
a= False
|
a= False
|
||||||
print ("\n Nie udalo ci sie. Chodziło o slowo {} \n\n".format(s_word))
|
print ("\n Nie udalo ci sie. Chodzilo o slowo {} \n\n".format(s_word))
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
n_main()
|
n_main()
|
||||||
|
Loading…
Reference in New Issue
Block a user