August 19, 2024
P04 - Find the number of elements of a list
lisp
(defun comprimento (lista)
(if (null lista)
0
(1+ (comprimento (rest lista)))))
August 19, 2024
lisp
(defun comprimento (lista)
(if (null lista)
0
(1+ (comprimento (rest lista)))))
Don't have an account? We will create one for you.
Enter the OTP send to
in seconds.