Python Lambda Function Multiple Representations In Math