From c13160f0b797d4080306b98ccb5a54cacd534376 Mon Sep 17 00:00:00 2001 From: Chris Mekelburg Date: Sun, 10 Nov 2024 19:54:32 -0500 Subject: [PATCH] update b/w checkpont 1 and 2 fixed range(6) to range(7) in dice_stats.py --- dice_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dice_stats.py b/dice_stats.py index 3274ccd..75d3ea0 100644 --- a/dice_stats.py +++ b/dice_stats.py @@ -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