Question: Write the following functions in Scheme/DrRacket: 2. (3 points) Define a function called removeLast that takes a list and returns a new list and the
Write the following functions in Scheme/DrRacket:

2. (3 points) Define a function called removeLast that takes a list and returns a new list and the returned list is the same as the input list except the last element in the input list is removed (if there is one For example, removeLast(1 2 3 4) returns (1 2 3). Use case analysis and recursion to write the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
