Question: Q 6 - Debugging: Odd or Even ( 0 . 4 points ) Provided is a function is _ even ( ) . It should
Q Debugging: Odd or Even points
Provided is a function iseven It should check whether the values in your input parameter datalist are even or odd. Specifically, for each value, it should add True to a new list outputlist if the value is even, and False to outputlist if the value is odd, with outputlist being the output of the function.
But, it's not quite accomplishing that goal. Start with the code provided and debug so that it accomplishes the stated goal.Note that all tests are visible so if you pass the assert statements provided, you know you've earned full credit on this question.:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
