I'm new to python lambda functions. So this question maybe a dummy one. I have the following sample code in python:
halve_evens_only = lambda nums: map(lambda i: i/2, filter(lambda i: not i%2, nums))
by calling this function like halve_evens_only([2,5,7,89,36])
I got the following output:
<map object at 0x02937190>
Is that a generator? How can I get the value ( I mean a list ) as an output of this function?