Skip to content
← Back to the archive

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 items
  • Return the number of matching values

Function signature

def select_17(values):

Sign in to solve this bracket

Reading the problem is free for everyone. Opening the editor and solving it requires an account with Open Bracket+.