Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1 +1,5 @@
|
|||
(map #(let [s (str (if (zero? (mod % 3)) "Fizz") (if (zero? (mod % 5)) "Buzz"))] (if (empty? s) % s)) (range 1 101))
|
||||
(map (fn [x] (cond (zero? (mod x 15)) "FizzBuzz"
|
||||
(zero? (mod x 5)) "Buzz"
|
||||
(zero? (mod x 3)) "Fizz"
|
||||
:else x))
|
||||
(range 1 101))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue