Question: 1. A file named module_one.py (5 points) The file should contain a class definition that has a constructor (def __init_0: method) The constructor takes in

 1. A file named module_one.py (5 points) The file should contain

1. A file named module_one.py (5 points) The file should contain a class definition that has a constructor (def __init_0: method) The constructor takes in an integer' value The integer value passed to the constructor is used to construct and store a instance variable list of that integer size (fill this list with whatever you want, just make sure it is the indicated size). There is to be one additional method that also takes in an integer value. This integer value indicates what sized slice of a sub-list the method will return. The returned sub- list is constructed from the original list that was stored at the object creation. 2. A Jupiter Notebook that imports your module_one.py (5 points) In this notebook you will import and construct an instance of the class you defined in module_one.py. o You should then call the method on the object that returns the sub-list. You should then print the sub-list that was returned from the instance of your class

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!