You have to program the function below.
Write a function @even_odd(f)@ that given a list of integer numbers, returns two lists. The first one is formed by the even numbers in . At the second one there are the odd numbers in . The order of appearance of the numbers in each of the two resulting lists must preserve the original order.
The function counts 100 points.
>>> even_odd([1, 5, 2, 5, 4, 3, 0]) ([2, 4, 0], [1, 5, 5, 3]) >>> even_odd([1, 3, 5]) ([], [1, 3, 5]) >>> even_odd([0, 4]) ([0, 4], [])