Find equivalents

Report a typo

Suppose inputs is a list of numbers.
Which of the following pieces of code perform the same task?

A.

results = list(map(lambda x: x * 10, inputs))

B.

results = inputs * 10

C.

results = [10 * x for x in inputs]
Select one or more options from the list
___

Create a free account to access the full topic