What will be the output of the following code snippet?
square = lambda x: x ** 2
a = [ ]
for i in range(5):
a.append(square(i))
print(a)

Posted on by