4. Filtering

Keeping what matches

A filter walks through a list and keeps only the items that pass a test. What's left becomes a new list.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:From every = [1, 2, 3, 4, 5, 6, 7, 8] keep the beats bigger than 4 in a list called late, then play hihat(late).

Goal
hihat
1234
5678