Problem 2 (200pts)

Implement picky_piggy, which takes the opponent's current score and returns the number of points scored by rolling 0 dice (see Picky Piggy rule).

Don't assume that scores are below 100. Write your picky_piggy function so that it works correctly for any non-negative score.

Important: Your implementation should NOT use str, lists, or contain square brackets [ ]. The test cases will check if those have been used. Remember to remove the "*** YOUR CODE HERE ***" string from the function once you've implemented it so that you're not getting an unintentional str check error.

Before writing any code, unlock the tests to verify your understanding of the question.

$ python ok -q 02 -u

Once you are done unlocking, begin implementing your solution. You can check your correctness with:

$ python ok -q 02

You can also test picky_piggy interactively by entering python -i hog.py in the terminal and then calling picky_piggy with various inputs.