We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b27faba commit d0f35f8Copy full SHA for d0f35f8
1 file changed
python2/koans/about_dice_project.py
@@ -17,7 +17,9 @@ def values(self):
17
def roll(self, n):
18
# Needs implementing!
19
# Tip: random.randint(min, max) can be used to generate random numbers
20
- pass
+ self._values = []
21
+ for r in range(0, n):
22
+ self._values.append(random.randint(1, 6))
23
24
25
class AboutDiceProject(Koan):
0 commit comments