?
What will be the output of the following Python code?
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))
Join the Discussion
Login to post a comment or share your explanation.
Login