Write two small functions for the rolls of a die. The checker tests that the rolls are reproducible, that they are whole numbers from 1 to 6, and that the mean is right.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…