How to Use Lambda Functions in Python?

Python lets you create a function on the go, but without really assigning a name to the function. These “anonymous” functions are called “Lambda Functions”. One typically writes a lambda function on the fly, when one wants to write a function for one-time use. Lambda Functions come handy in a variety of situations and are… Continue reading How to Use Lambda Functions in Python?

Getting Started With Map, Filter, and Reduce in Python

Python has a couple of nice built-in function in the flavor of functional programming paradigm. These built-in functions like map, filter, and apply combine very well with lambda functions. Map, filer, and reduce help you create, work with and tame lists in Python. For example sure, at some point you will have to deal with… Continue reading Getting Started With Map, Filter, and Reduce in Python