Even and odd

You have to program the function below.

- Write a function @even_odd(f)@ that given a list f of integer numbers,
  returns two lists. The first one is formed by the even numbers in f.
  At the second one there are the odd numbers in f. The order of
  appearance of the numbers in each of the two resulting lists must
  preserve the original order.

Scoring

The function counts 100 points.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T14:36:00.731Z

© Jutge.org, 2006–2026.
https://jutge.org
