Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions Please upload two files that show your proficiency with the material presented in this module. 1. A file named module_one.py (5 points) . The

image text in transcribed

Instructions Please upload two files that show your proficiency with the material presented in this module. 1. A file named module_one.py (5 points) . The file should contain a class definition that has a constructor (def __init__(): 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). o 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions