# Office supplies review

### ChatGPT

## Office supplies

| Item      | Quantity | Unit price | Total |
| --------- | -------- | ---------- | ----- |
| Notebooks | 3        | $4         | $12   |
| Pens      | 2        | $3         | $6    |
| Delivery  | 1        | $5         | $5    |

The total is **$23**.

### ChatGPT

## Check the total

```python
quantities = [3, 2, 1]
prices = [4, 3, 5]
print(sum(q * p for q, p in zip(quantities, prices)))
```

$$
T = \sum_{i=1}^{n} q_i p_i = 23
$$
