diff --git a/course_4_project.py b/course_4_project.py index d06f064..c9785b1 100644 --- a/course_4_project.py +++ b/course_4_project.py @@ -42,10 +42,11 @@ def getPossibleLetters(self, guessed): list = [] if self.prizemoney >= 250: for l in LETTERS: - list.append(l) + if l not in guessed: + list.append(l) else: for l in LETTERS: - if l not in VOWELS: + if l not in VOWELS and l not in guessed: list.append(l) return list