Question: Python 3 Coding: CS 112, Lab 8 Exercise Functions Due: Monday, March 27th, 11:59pm Files: You should download tester8L.py from Piazza for testing. Grading is
Python 3 Coding:



CS 112, Lab 8 Exercise Functions Due: Monday, March 27th, 11:59pm Files: You should download tester8L.py from Piazza for testing. Grading is based on the fraction of passing tests. You can run it like this python tester8L.py gmason76 230 L8.py If you only want to test some functions, you can run it like this: (only testing extract negatives) python tester8L.py gmason76 230 L8.py extract negatives As this is an Exercise, you can read any and all materials, ask us questions, talk with other students, and learn however you best learn in order to solve the task. Just create your own solution from those experiences, and turn in your work. We can define functions to name a block of code, and then feed it inputs and get an output. Functions also allow us to give default values for parameters, which is useful but needs special attention. We will write functions that are more than just side-effect-free input-output factories. Notes You cannot import any modules. Don't call input or print anywhere. We need you to figure out the "signature" (top line) of some functions, so we don't explicitly show you the parameters lists for those functions. Part of the goal is learning how to choose when to use default parameters, and what default values to use. You're also learning when to modify the original or not; test cases should target this fact
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
