User:Eo550

hello this is Emmanuel and Jordan.

The work bellow is a function within racket that is able to takeaway a number from a list.

(define takeaway (λ (x lst) (cond                             ((empty? lst) lst)                              ((= x (first lst)) (takeaway x (rest lst)))                              (#t (cons (first lst) (takeaway x (rest lst)) )))))