Commit 1ca63891 authored by Adam Blank's avatar Adam Blank
Browse files

minor tweak

parent e8e765a9
Showing with 5 additions and 1 deletion
+5 -1
......@@ -29,12 +29,14 @@ def how_many_exact_matches(word1: str, word2: str) -> int:
"""
...
def get_counts_of_letter(word: str, letter: str) -> int:
"""
Returns the number of occurrences of letter in word.
"""
...
def get_counts_of_letters(word: str) -> dict[str, int]:
"""
Returns a dictionary that maps all the distinct letters in word to
......@@ -45,6 +47,7 @@ def get_counts_of_letters(word: str) -> dict[str, int]:
"""
...
def how_many_overall_matches(guess: str, answer: str) -> int:
...
......@@ -66,9 +69,10 @@ def play_wordle_game():
# print("Nice job! That's correct!")
# print("You got " + str(exact) + " letter(s) exactly correct!")
# print("You got " + str(misplaced) + " letter(s) misplaced!")
pass
again = True
again: bool = True
while again:
play_wordle_game()
again = prompt_yes_no('Would you like to play again (y/n)? ')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment