i have some task that ask me to create a list in LISP , so I'm using clips online and I made this code the create my list and do some operations
(print (setq y '(2 3 4 5 6 7 8)))
(print (setq y (cons 1 y)))
(print (setq y (append y '(9))))
(print (car y))
(print (second y))
(print (third y))
(print (fourth y))
(print (fifth y))
(print (last y))
(print (second (reverse y)))
(print (setq y (reverse y)))
(print (setq y (cdr y)))
(print (setq y (reverse (cdr (reverse y)))))
(print (length y))
(print (member 9 y))
and this error appears without any other output:
*** - EVAL: variable has no value
can you please help me understand what's wrong and what to do? thank you