June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,4 +1,6 @@
|
|||
(take 100 (map #(let [s (str %2 %3) ] (if (seq s) s (inc %)) )
|
||||
(range)
|
||||
(cycle [ "" "" "Fizz" ])
|
||||
(cycle [ "" "" "" "" "Buzz" ])))
|
||||
(map (fn [n]
|
||||
(if-let [fb (seq (concat (when (zero? (mod n 3)) "Fizz")
|
||||
(when (zero? (mod n 5)) "Buzz")))]
|
||||
(apply str fb)
|
||||
n))
|
||||
(range 1 101))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue