what is nested lambda function in python