Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

Students also viewed these Databases questions

Question

Why is it important to match sources and methods of recruitment?

Answered: 1 week ago

Question

=+and reduction in force, and intellectual property.

Answered: 1 week ago