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]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]Create a free account to access the full topic