Question: - Create a single module file with at least one class definition. It should have at least three attributes and two methods. At least one

- Create a single module file with at least one class definition. It should have at least three attributes and two methods. At least one of the methods needs to take an argument to change how it behaves. (Does not have to be biologically-related)

- Create a test script which uses and shows off the features of your module.

Example given to us:

A student might have created a fasta.py module with an Entry class. That class might have attributes id, title and sequence, then methods like print_sequence(width=80) and reverse_complement().

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!