fork download
  1. (defun fu (x y z)
  2. (setq l nil)
  3. (loop
  4. (if (> x y) (return l))
  5. (if (= (rem x z) 0) (setq l (append l (list x))))
  6. (setq x (+ x 1))
  7. )
  8. )
  9. (format t "~{~A ~}" (fu 1 10 1))
Success #stdin #stdout 0.02s 10592KB
stdin
Standard input is empty
stdout
1 2 3 4 5 6 7 8 9 10