Create A Lambda Function Python