Lambda Function Code In Python