What will be returned by each of the following?
(setq b (car a))
Given the 2 statement above, which of the following statements will produce the following list which has the 2nd and 4th elements interchanged (1 4 3 2)
(append b (reverse (cdr a)))
(cons b (reverse (cdr a)))
(list b (reverse (cdr a)))
Will any of them work for a longer original list such as (1 2 3 4 5 6 7)?
(not nil)
(or ())
(or ‘(t nil))
(or 3 4 5)
(and 3 4 5)
(and t nil 7)
(or t nil 7)