Problem 3 (200pts)
Implement the take_turn
function, which returns the number of points scored for a turn by rolling the given dice
num_rolls
times.
Your implementation of take_turn
should call both roll_dice
and picky_piggy
when possible.
Before writing any code, unlock the tests to verify your understanding of the question.
$ python ok -q 03 -u
Once you are done unlocking, begin implementing your solution. You can check your correctness with:
$ python ok -q 03