fibonacci function in LISP

preview_player
Показать описание
yeah, by making a function (defun) you can ask lisp to return the number in the (n) position in the fibonacci sequence (so, you define how to obtain it, (by) adding the fibonacci number previous (n-1) + the before previous one to the argument-number (n-2) but you still have NOT said what is a number of the fibonacci sequence & there isn't a "primitive" about it. How LISP knows how-to obtain it?
That's a homework, yeah! :P
Рекомендации по теме
Комментарии
Автор

Did you get an answer to this? Happy to help if you need it.

CBaggers