Using Lambda Function In Python Definition