I am trying to write a function, say A(n)
which should have a list
(the answer is n)
n is any integer in the list that I want when I type (A 4)
it should display (the answer is 4)
I'm not sure how to do this while thinking about using setq and the list function
But how to build it, it confuses me. I am just a beginner who is trying to learn lisp, any ideas or books that I can read, I will be very grateful.
source share