Reduce is a functionality that is introduced in Python that will take 2 elements at a time from either list or tuple and the result of that operation is again taken with next element in the list till we arrive at a solid answer and the list or tuple traversing is complete. Let’s understand thisContinue reading “Reduce”
Tag Archives: python lambda functions
Lambda Functions
Lambda functions are small and anonymous functions. Lambda function can take ‘n‘ number of arguments, but will have only one expression. To create a Lambda function in Python, we need use Lambda keyword. Let’s see with an example. If we assign a function to a variable, it becomes an anonymous function and thus a lambdaContinue reading “Lambda Functions”