Lambda Function Using Python For Automation