Rolling a Dice 🟢#

Write a function that works as a dice-rolling simulator.

Rules#

  1. Dice type: Cube (6 faces).

  2. Dice is fair: equal chance of rolling any value.

  3. The function must return an integer value corresponding to the rolled face.

  4. You can use any random function from the random module

Resources#

Content#