Return every value in cups below 90

NumPy · from Boolean masks

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

Putting the kettle on…

Starting up…

Exercise 1

Return every value in cups below 90.

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