Return the values in cups that are between 90 and 130 — greater than 90 and les…

NumPy · from Boolean masks

a > na[mask]&|~.sum().any().all()np.count_nonzero

Putting the kettle on…

Starting up…

Exercise 3

Return the values in cups that are between 90 and 130 — greater than 90 and less than 130.

your answer
stuck? the lesson behind it
Boolean masks
Selecting by condition — and why the answer comes back flat.