Search for question
Question

Task 2: Write a Python function that accepts a list of numbers as input and returns four outputs. The function should produce two separate lists: one list containing odd numbers, and another list containing even numbers. Also, mention how many odd and even numbers there are. Example: For the following list of numbers: [1,3,2,4,3,1,4,1,7] There are 6 odd numbers: [1,3,3,1,1,7] There are 3 odd numbers: [2,4,4]

Fig: 1