Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
7
Task/Loops-Continue/Clojure/loops-continue-2.clj
Normal file
7
Task/Loops-Continue/Clojure/loops-continue-2.clj
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(loop [xs (range 1 11)]
|
||||
(when-let [x (first xs)]
|
||||
(print x)
|
||||
(if (zero? (rem x 5))
|
||||
(println)
|
||||
(print ", "))
|
||||
(recur (rest xs))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue