fork download
  1. ; your code goes here
  2. ; your code goes here
  3. (defun ICidadep(lista)
  4. (if (and (numberp (second lista))
  5. (numberp (first lista))
  6. (numberp (third lista)))
  7. 1 0))
  8.  
  9. (print (ICidadep '("Lisboa" 3 4)))
  10.  
  11. (print (ICidadep '(1 2 4)))
Success #stdin #stdout 0.01s 9552KB
stdin
Standard input is empty
stdout
0 
1