Tchae

Untitled

Apr 12th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.18 KB | None | 0 0
  1. (defun garde-o (liste)
  2.   (setq bassine nil)
  3.   (loop
  4.     (cond
  5.       ((not liste) (return bassine))
  6.       ((equal (car liste) 'o) (push (pop liste) bassine))
  7.       ((pop liste)) ) ) )
Advertisement
Add Comment
Please, Sign In to add comment