Question: 1 . Create a Python file called Die.py in PyCharm. 2 . Create a function called rollFairDie ( ) that takes no arguments and returns

1. Create a Python file called Die.py in PyCharm.
2. Create a function called rollFairDie() that takes no arguments and returns an integer between 1 and 6 inclusively, but at random with an equal probability each time the function is called. This means that each roll must be independent of the past or future rolls.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!