Question: Use Python 3 Programming: Write a function called fig2 that takes a list of integers as argument, removes all odd integers (unveven numbers) form this

Use Python 3 Programming:

Write a function called fig2 that takes a list of integers as argument, removes all odd integers (unveven numbers) form this list,

and multiplies by 3 all the remaining integers within the list. This function does not return a result

Use list re = [1,2,3,5,7,9,2,12,15,19].

Print this list re.

Call fig2 function with li as argument.

Print again re.

re = [1,2,3,5,7,9,2,12,15,19]

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!