Created
November 2, 2018 19:55
-
-
Save LVMBDV/f176ea0e48cddf594e0f7adba239ba1c to your computer and use it in GitHub Desktop.
fizzbuzz, in fennel
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
(for [i 1 100] | |
(if (= 0 (% i 3)) | |
(if (= 0 (% i 5)) | |
(print "fizzbuzz") | |
(print "fizz")) | |
(= 0 (% i 5)) | |
(print "buzz") | |
(print i))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment