Reduce In Lambda Function Example In Python