Lambda Function Using Python Libraries