Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

test2

(print (setq l1 '(1 2 (3) 4 5)))

(print (car l1))
(print (cdr l1))
(print (nthcdr 3 l1))
(print (nth 4 l1))

(print "L2")

(print (setq l2 '((1 (2) 3) 4 5 (6(7(8) ana (are (mere)))))))
(print (caar(cdar(cdar(cddr(cdr l2))))))
(print (caadar(nthcdr 2 (cdar(cdar(cddr(cdr l2)))))))
(print (caar(cddr(cdr l2))))

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.