Apply Lambda Function To List Python Definition