HEY GUYS, please help me out, 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,