This was the list given:
(4 (7 22) "art" ("math" (8) 99) 100)
but I'm still having trouble coming up with the correct code in order to answer this problem
all I have come up with is
(defund myList() (4 (7 22) "art" ("math" (8) 99 100) )
but obviously that is not correct
You need to quote the list so it won't be treated as a function call.
defundis a typo fordefun, and you were missing a close parenthesis.If you need non-constant data, use the
LISTfunction to create fresh lists at each level.