(filter
- the most direct translation.
(for [x (range 1 100) :when (or (= (mod x 5) 0) (= (mod x 3) 0))] x)
- This is another way to do it.
Instead of doing (= .. 0), can you use zero? instead of this. Here is the corrected solution:
(filter
Rayne source
share