title: Using Lisp: define a function that takes a list and a number and returns true if the number occurs in the list
body: <p>I am new to lisp and I have a problem, I'm trying to find the number in the list but it is not working. I haven't made the return statement yet</p>
  
  <pre><code>(defun num (x 'y)
      (if (member x '(y)) 't nil))
  
  (write (num 10 '(5 10 15 20)))
  </code></pre>
  
  <p>My output just outputs the <code>nil</code> instead of doing the function and I'm confused of what I am doing wrong.</p>