Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Loops-Break/Common-Lisp/loops-break-1.lisp
Normal file
4
Task/Loops-Break/Common-Lisp/loops-break-1.lisp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(loop for a = (random 20)
|
||||
do (print a)
|
||||
until (= a 10)
|
||||
do (print (random 20)))
|
||||
3
Task/Loops-Break/Common-Lisp/loops-break-2.lisp
Normal file
3
Task/Loops-Break/Common-Lisp/loops-break-2.lisp
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(do ((a (random 20) (random 20))) ; Initialize to rand and set new rand on every loop
|
||||
((= a 10) (write a)) ; Break condition and last step
|
||||
(format t "~a~3T~a~%" a (random 20))) ; On every loop print formated `a' and rand `b'
|
||||
Loading…
Add table
Add a link
Reference in a new issue