- create a random number
- check the number
- print the face
- looping
1. Create a random number
First import the random module for creating a random number.
Now print a face for the obtained random number.
At the final Step, loop through until the user gives input yes or no for rolling the dice. This is the dice simulator which prints the face to a given random number.