Python Program Using Lambda Function