CGU HW1 Problem 3: Fun with Functions

[50 points; individual or pair]

This problem asks you to write the following Python functions using recursion. Be sure to test these functions carefully. Be sure to include a docstring under the signature line of each function. The docstring should indicate what the function computes (outputs) and what its inputs are or what they mean.

Please put all of your functions for this problem in a single hw1pr3.py file, and start start your file with a comment that included your name and the assignment/problem name (hw1pr3).

All of the parts (functions) of this problem will be submitted in that single file. Be sure to name your functions exactly as specified!

Use recursion!

For this homework, the mult, dot, ind, and scrabbleScore functions should all be done using recursion. Compare them to the power, mymax, mylen, and sajak functions we did in class this week.




Remember to submit your file as hw1pr3.py.