Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn fizzbuzz [fb-count]
- (print
- (clojure.string/join
- (take fb-count
- (map #(str %1 %2 %3)
- (cycle ["" "" "fizz"])
- (cycle ["" "" "" "" "buzz"])
- (cycle ["\n"]))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement