Semper Phone

Effortless
LEARNING

  • Improve effortlessly – just by living your life
  • Learn while waiting for your apps to load
  • Recommended by 5 universities
  • Community of over 1,000,000 learners
  • 50,000+ expert-made packs, or create your own
"One of the best learning apps" - CNET
  • Apple Play Store
  • Install Semper from the Play Store
Lisp functions

Lisp functions

Last update 

Exercise for lisp equations

Items (14)

  • (car '((1 2 3) (4 5 6) (7 8 9)) )

    (1 2 3)

  • (cdr '((1 2 3) (4 5 6) (7 8 9)) )

    ((456) (789))

  • (caadr '((1 2 3) (4 5 6) (7 8 9)) )

    4

  • (caddr '((1 2 3) (4 5 6) (7 8 9)) )

    (7 8 9)

  • (caaddr '((1 2 3) (4 5 6) (7 8 9)) )

    7

  • (cadar '((1 2 3) (4 5 6) (7 8 9)) )

    2

  • (cadadr '((1 2 3) (4 5 6) (7 8 9)) )

    5

  • (cddr '((1 2 3) (4 5 6) (7 8 9)) )

    ((7 8 9))

  • (caar '((1 2 3) (4 5 6) (7 8 9)) )

    1

  • (cdar '((1 2 3) (4 5 6) (7 8 9)) )

    (2 3)

  • (cdadr '((1 2 3) (4 5 6) (7 8 9)) )

    (5 6)

  • (cddar '((1 2 3) (4 5 6) (7 8 9)) )

    (3)

  • (cadr '((1 2 3) (4 5 6) (7 8 9)) )

    (4 5 6)

  • (caddar '((1 2 3) (4 5 6) (7 8 9)) )

    3