3. Write a function named filter_and_modify_list() that takes a list of integers as its only argument. The function should perform the following operations on the list:
a. Remove all negative numbers from the list.
b. Double the value of each remaining number in the list.
c. Sort the modified list in ascending order.
d. Return the modified list.
Your function should make use of list methods such as .remove(), .append(), or list comprehensions for filtering, and you may use sorted() function or .sort() method for sorting.
Example 1 – function call: filter_and_modify_list([-10, 1, 5, -3, 8]); return: [2, 10, 16]
Example 2 – function call: filter_and_modify_list([4, -1, 2, -5, 3]); return: [4, 6, 8]
Example 3 – function call: filter_and_modify_list([-1, -2, -3, -4]); return: []
You will get 5 bonus points if you can write two versions of the function – one only uses list comprehension and another one only uses list methods for the first two operations.