title: How to delete an element from a list in scheme
body: <p>how to delete an element from a list
  ex:- list=[1 2 3 4]</p>
  
  <p>I have come up with some code.I think I got wrong somewhere.</p>
  
  <pre><code> (define delete item
     (lambda (list)
     (cond
      ((equal?item (car list)) cdr list)
       (cons(car list)(delete item (cdr list))))))
  </code></pre>