Question: Python Doc's needed: https://drive.google.com/open?id=1-4kP1arb5jNOT2At6a89smZazunrhKyX https://drive.google.com/open?id=1d8E9vjbcOTpXtY22342j-zmVoXH-IH1B 1. (10 points) Implement a class Die (that is a subclass of the object class) representing a Die with many


Python
Doc's needed:
https://drive.google.com/open?id=1-4kP1arb5jNOT2At6a89smZazunrhKyX
https://drive.google.com/open?id=1d8E9vjbcOTpXtY22342j-zmVoXH-IH1B
1. (10 points) Implement a class Die (that is a subclass of the object class) representing a Die with many sides, default of 6. You need to implement a ball with supporting six methods ? which takes 1 optional parameter or initializes the Die to 6 sides. -init a. b. roll()-randomly chooses a new value for the die. The value is stored within the object. c. get0 which returns the value of the die. d. numSides0 - returns how many sides the die has fe f. repr__0: Phyton representation of the die. The following shows how the Die class and its methods could be used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
