1-Write a Scheme function that takes a list as a parameter andreturns a list identical to the parameter except the last elementhas been deleted. ?
2- Write a Scheme function that takes a list and an atom asparameters and returns a list identical to its parameter listexcept with all top-level instances of the given atom deleted),except that the atom can be either an atom or a list.
Expert Answer
An answer will be send to you shortly. . . . .