6 Write Function Rember2 Takes Two Arguments Atom List Atoms 1 Removes Second Occurrence 1 Q37167654

6. Write the function rember2 which takes two arguments: an atom a and a list of atoms 1 and removes the second occurrence of

6. Write the function rember2 which takes two arguments: an atom a and a list of atoms 1 and removes the second occurrence of a in 1 Examples: (rember2 ‘fudge (ice cream with fruit for dessert)) returns (ice cream with fruit for dessert). (rember2 ‘ice ‘(ice cream with fruit and ice cream with fudge)) returns (ice cream with fruit and cream with fudge) (rember2 ‘ice )) returns O Show transcribed image text 6.

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.