?
The output of the following codes are the same.
The output of the following codes are the same.
[x**2 for x in range(10)]
list(map((lambda x:x**2), range(10)))
[x**2 for x in range(10)]
list(map((lambda x:x**2), range(10)))
Join the Discussion
Login to post a comment or share your explanation.
Login