4.1 Maps
angoodkind opened this issue · 0 comments
angoodkind commented
The function:
for i in range(5):
value = map(lambda x: x(i), funcs)
print(value)
gives me:
<map object at 0x1056c9630>
<map object at 0x1056c94e0>
<map object at 0x1056c9668>
<map object at 0x1056c9588>
<map object at 0x1056c9630>
I believe it should be:
for i in range(5):
value = list(map(lambda x: x(i), functs))
print(value)