Lambda Function In Python Code