

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


th
Because this extra credit problem set is worth test points, you MAY NOT look at other people's code! You are allowed to talk with other students about how they solved the problems, and you may tell other students how to solve the problems, but you MAY NOT show other people your code or look at other people's code! If you get help from others (or help others) you should include their names in your collaboration statement at the top of the file. Each correctly solved problem is worth a test point. This extra credit problem set will allow you to gain up to 11 test points! This could raise your grade on an Exam around 10%. Each problem will require you to write a function. Download the ec1.py file and write your functions at the top of the file, using the specified function name and parameter(s). When you want to test your functions, you can call the test() function that has been provided at the bottom of the file. The test() function will call each of your functions (if you have named them correctly!) and tell you if they pass a few simple tests. NOTE: If your function passes the included tests, it is likely to be correct, but TA's may find other problem when they read your code. Just because a function passes all the tests does not guarantee that you got it correct (but the likelihood is high!)