[Solved]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 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. 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
Expert Answer
Answer to 6. Write the function rember2 which takes two arguments: an atom a and a list of atoms 1 and removes the second occurren… . . .
OR

