Rolling a Dice 🟢
Contents
Rolling a Dice 🟢#
Write a function that works as a dice-rolling simulator.
Rules#
Dice type: Cube (6 faces).
Dice is fair: equal chance of rolling any value.
The function must return an
integer
value corresponding to the rolled face.You can use any
random function
from therandom
module