Checking membership with in
b in [2, 4] is True when b is one of the items in the list. It's a quick way to ask "is this one of my beats?" — and not in asks the opposite.
Challenge A:Loop beats 1-8 and play the snare if b in [3, 7].