What will be the output of the following Python code?
L = [lambda x: x ** 2,
lambda x: x ** 3,
lambda x: x ** 4]
for f in L:
print(f(3))
L = [lambda x: x ** 2,
lambda x: x ** 3,
lambda x: x ** 4]
for f in L:
print(f(3))
A. 27
81
343
B. 6
9
12
C. 9
27
81
D. None of the mentioned
Answer: Option C
Join The Discussion