logo CodeStepByStep logo


Language/Type: Python functional programming lambdas

What is the output of the following code?

numbers = [10, -28, 33, 28, -49, 56, 49]
numbers = list(map(lambda n: abs(n), numbers))

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.