Question: Please write a full answer 1) a) Write a Scheme using DrRacket function called penultimate that takes a list, which must contain more than one

Please write a full answer
1) a) Write a Scheme using DrRacket function called penultimate that takes a list, which must contain more than one value, and returns the second-last t value in the list. For example, the penultimate '(1 2 3)) returns 2. to) Write a Scheme function using DrRacket called remove-penultimate that takes a list of numbers, which must contain more than one value, and returns the list of all values except the second-last in the list For example, the result (remove-penultimate '(1 2 3)) returns (1 3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
