For this homework, there is no starter file. You have to create your own .py file and submit it to Autolab. You can take a previous starter file and modify it appropriately.
Please add your name, Andrew id, and section at the top of the file.
Write test functions for each function you write.
APPLY TOP-DOWN DESIGN, USE LOTS OF HELPER FUNCTIONS.
IMPORTANT: All the code above the #ignore_rest line is autograded, and all the code below it is ignored. Make sure you put all test functions and manually graded functions below #ignore_rest.
You will be graded on style. You can lose up to 10 poins for style (out of 100 points). Please see here for the style rubric.
You may not use recursion, sets, dictionaries or any other constructs that we have not yet covered in class.
You will have 4 submissions on Autolab for this homework.
Questions
-
For fun: watch this video on how to think about the 4th dimension.
-
Do questions 1, 2 and 3 from here.