16
What is the output of the following code?
fs = [lambda: i for i in range(3)]
print([f() for f in fs])Hard
What is the output of the following code?
fs = [lambda: i for i in range(3)]
print([f() for f in fs])Log in to join the discussion.