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

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

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!