Assignment Help-Python programming
Complete the code as needed, so that all Doctests work and fitting the functionality described.
You may move existing Doctests to other locations in the file if that makes sense for documentation of your functions.
You may add more Doctests if you wish, but do not delete any of them.
Since you have been provided a partial solution already, this assignment should not be too lengthy or difficult. It’s main purpose is to get you more familiar with writing OO classes and some of the special functions.
Running the program in normal (non-test) mode, should output the same text as shown in the ‘output.txt’ file.