Question: Please include the sample run in this code Please solve this quesiton Problem 3 : Write a function called eq _ list that compares two

Please include the sample run in this code
Please solve this quesiton
Problem
3
:
Write a function called eq
_
list that compares two simple lists. If they are the same, return T
.
Otherwise, return NIL.
Prototype:
(
define eq
_
list
(
list
1
list
2
)
Your code goes here
)
Sample Run for Problem
3
:
(
display
(
eq
_
list
'
(
1
2
3
)
'
(
1
2
3
)
)
)
; expected output: T
(
display
(
eq
_
list
'
(
1
2
3
)
'
(
1
2
3
.
0
)
)
)
; expected output NIL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!