16 September 2026
Seventeen Signals
Medium
Lists
Numbers
Count the readings that equal 17.
You are given a list of signal readings. Count every reading whose value is 17. Return the count. If no reading has that value, return zero.
Constraints
values contains from 0 to 1,000 itemsReturn the number of matching values
Function signature
def select_17(values):