what is fibonacci of 5 code example
Example: first 100 fibonacci numbers
#for loop
fibonacci = [0,1]
for i in range(98):
i=fibonacci.append(fibonacci[-1]+fibonacci[-2])
print(fibonacci)
#for loop
fibonacci = [0,1]
for i in range(98):
i=fibonacci.append(fibonacci[-1]+fibonacci[-2])
print(fibonacci)