Update app.py
Browse files
app.py
CHANGED
@@ -79,6 +79,7 @@ class WordGame:
|
|
79 |
|
80 |
|
81 |
def check_output_for_word(self, string):
|
|
|
82 |
if self.target_word in string:
|
83 |
self.points += self.attempts
|
84 |
print(f"The player scored {self.attempts} points and has a total of {self.points}.")
|
|
|
79 |
|
80 |
|
81 |
def check_output_for_word(self, string):
|
82 |
+
print(f"Checking for '{self.target_word}' in '{string}'.")
|
83 |
if self.target_word in string:
|
84 |
self.points += self.attempts
|
85 |
print(f"The player scored {self.attempts} points and has a total of {self.points}.")
|