update b/w checkpont 1 and 2

fixed range(6) to range(7) in dice_stats.py
This commit is contained in:
Chris Mekelburg 2024-11-10 19:54:32 -05:00
parent e798485b0d
commit c13160f0b7
1 changed files with 2 additions and 2 deletions

View File

@ -20,14 +20,14 @@ class FiveDice:
return True
def is_three_of_a_kind(self):
for value in range(6):
for value in range(7):
instances = self.faces().count(value)
if instances >= 3:
return True
return False
def is_four_of_a_kind(self):
for value in range(6):
for value in range(7):
instances = self.faces().count(value)
if instances >= 4:
return True