map, filter and reduce explained with emoji šŸ˜‚ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 25

map, filter and reduce explained with emoji šŸ˜‚

map, filter and reduce explained with emoji šŸ˜‚ map([šŸ®, šŸ , šŸ”, šŸŒ¾], cook) => [šŸ”, šŸŸ, šŸ—, šŸž] filter([šŸ”, šŸŸ, šŸ—, šŸž], isVegetarian) => [šŸŸ, šŸž] reduce([šŸ”, šŸŸ, šŸ—, šŸž], eat) => šŸ’©

7th Nov 2017, 2:34 AM
Ilia Fedorov
Ilia Fedorov - avatar
5 Respostas
+ 22
informative code. Now I understand...
7th Nov 2017, 4:51 AM
Lord Krishna
Lord Krishna - avatar
+ 15
@Ipang Sorry, escaped the deadly python. won't go back... https://medium.com/@happymishra66/lambda-map-and-filter-in-python-4935f248593 lambda, map and filter in Python ā€“ Rupesh Mishra ā€“ Medium http://book.pythontips.com/en/latest/map_filter.html 4. Map, Filter and Reduce ā€” Python Tips 0.1 documentation https://www.python-course.eu/lambda.php Python Tutorial: Lambda Operator, filter, reduce and map http://www.bogotobogo.com/python/python_fncs_map_filter_reduce.php Python Tutorial: map, filter, and reduce - 2017 - BogoToBogo
7th Nov 2017, 7:36 AM
Lord Krishna
Lord Krishna - avatar
+ 4
Ummm.... surprisingly this was very helpful. Now Iļø really get it. Dead serious.
11th Nov 2017, 4:17 AM
Heather Moseley
Heather Moseley - avatar
+ 3
Err... still learning, sorry, still don't quite understand it, can you shed a light for my darkened brain? I think Python is strangling my neck here :)
7th Nov 2017, 5:57 AM
Ipang
+ 1
@Lord Krishna, Thank you, appreciate the time taken, will save those links for further references :-)
7th Nov 2017, 7:56 AM
Ipang