Python: Python: using the Lambda operator