Last active
November 26, 2020 20:57
-
-
Save alandipert/fb7ce01cc109e9c2ed06b3a87573ccf4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn fizzbuzz [n] | |
(let [fb (str ({0 "fizz"} (mod n 3)) | |
({0 "buzz"} (mod n 5)))] | |
({"" (str n)} fb fb))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment