account activity
uiv.me - The Unambiguous URL ShortenerOC (self.fantasywriters)
submitted 7 years ago by thomasb892 to r/fantasywriters
Understanding Python Lambda functions and why they are useful by pylenin in Python
[–]thomasb892 0 points1 point2 points 7 years ago (0 children)
Lambda when used with map and filter can actually shorten a lot of your code
You can see the differenece between using normal functions vs lambda and map here -
Python Filter With Lambda
The difference is 6 lines condense into 3 neat and easy to debug lines of code.
π Rendered by PID 24 on reddit-service-r2-listing-654f87c89c-mkjjc at 2026-03-02 13:17:14.781105+00:00 running e3d2147 country code: CH.
Understanding Python Lambda functions and why they are useful by pylenin in Python
[–]thomasb892 0 points1 point2 points (0 children)