Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defn fizzbuzz [start end]
(doseq [n (range start end)]
(zero? (mod n 15)) (println "FizzBuzz")
(zero? (mod n 5)) (println "Buzz")
(zero? (mod n 3)) (println "Fizz")
:else (println n))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.