This is a simple program that rolls two imaginary dice and displays the numbers.
To complete you will need to use the random module as you will need to randomise the numbers that the dice roll.
You can find some good information on this here.
You will need to:
- Set minimum and maximum variables to represent the lowest and highest numbers on the dice.
- Use a while loop so that the user can keep rolling the dice if they want
For bonus points:
Once it is working, Make it more realistic by introducing pauses and user feedback (Like “shaking dice, please wait…”) before showing the numbers so that it looks like the computer is thinking