Feb-22-2018, 09:57 PM
Maybe he thinks its more pythonic because lambda can be used with for instance the map function and you could avoid making a loop yourself(?).
This page has a pretty good description i think:
https://www.python-course.eu/lambda.php
This page has a pretty good description i think:
https://www.python-course.eu/lambda.php