Write a function is_even() in python which will check whether the values in your input parameter (data_list)
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a function is_even() in python which will check whether the values in your input parameter (data_list) are even or odd.
Specifically, for each value, it should add True to a new list output_list if the value is even, and False to output_list if the value is odd.
Be sure to return output_list from the function.
Related Book For
Posted Date: