News

To create a function, first give the function a name, and name the value that the function should use in its calculations. A good name for the dice-rolling function could be ‘roll_dice’ .