Question: Write a function find_odd_numbers( ) that takes one input parameter, numbers, which is of the type list and it contains a list of integers. Your

Write a function find_odd_numbers( ) that takes one input parameter, numbers, which is of the type list and it contains a list of integers. Your function will have to extract only odd integers from numbers and put them into a new_list named odd_num and return this new list.

For example: >>> print (find_odd_numbers([1,2,3,4,5,6,7,8,9,10]))

[1, 3, 5, 7, 9]

>>> print (find_odd_numbers([-1,-3,4,6,8,-11,11,10]))

[-1, -3, -11, 11]

>>> print (find_odd_numbers([1,1,1,1]))

[1, 1, 1, 1]

>>> print (find_odd_numbers([2,4,6,8,10]))

[ ]

Hint: Use append( ) to add new item to a list

Note: Using Python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!