Question: in python Part B: For this part of this lab, you will be developing a generalized Die class that can have any number of sides.
in python


Part B: For this part of this lab, you will be developing a generalized Die class that can have any number of sides. The detailed description of this class is in the table below. Start with the simple 6-sided Die class in the file blOldie.py and modify it to be a generalized Die class by adding an additional data attributes self._sides la In a separate file called testDie py, include a list of commands to thoroughly test your Die class. Your lestDie script will need to import die. An advantage of the interactive nature of Python is that you can test each Dic method as you write them. This allows for good incremental development
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
