Question: DrRacket HELP I need help creating a function in drracket that takes a list and removes all of the even numbers from that list. I

DrRacket HELP

I need help creating a function in drracket that takes a list and removes all of the even numbers from that list. I only have a template so far. any help would be great

;; remove-even : lon -> lon ;; removes every even number from a list of numbers ;(define (remove-even lon) ; (cond ; [(empty? lon) empty] ; [(cons? lon) (... (first lon) ; (remove-even (rest lon)))]))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!