From 9bc68c62f86996b52c0dc7c9326dec63e7027d49 Mon Sep 17 00:00:00 2001 From: pythonboi Date: Wed, 1 Sep 2021 15:07:45 -0400 Subject: [PATCH] clean up the code for readability and add print statement to if loose --- Hangman.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Hangman.py b/Hangman.py index 6caa418..a781ddb 100644 --- a/Hangman.py +++ b/Hangman.py @@ -111,11 +111,9 @@ # Check for no lives and exit the loop if lives == 0: print(f"You Loose!, you now have {lives} lives left") + print(stages[lives]) break - # for name in range(lives): - # if guess not in chosen_word: - # lives -= 1 print(lives) print(stages[lives]) print(display) @@ -132,5 +130,3 @@ print("You Won!") break - # print(counter) -# print("You Won")