HEY GUYS, please help me out, :confused: i am trying to do some programming and im stuck now. i need to implement an iterative funtion in python so i can generate numbers in the fibonacci sequence. below is the the coding for it.
fib(0) = 1
fib(1) = 1
fib(n) = fib(n − 1) + fib(n − 2)
please can someone help me on how to implement it.
appreciate it if anyone could,
Well I don't know Python but here it is in Euler:
Originally Posted by xxxGxxx
and some example calls: