0

Hallo guys, how do i create the fiibonacci series

1st Oct 2018, 6:01 AM
haron taiko
3 Respuestas
+ 4
Here's one way but there are hundreds more if you go to the code playground and search for 'fibonacci' https://code.sololearn.com/c76KT0VWeyN1/?ref=app
1st Oct 2018, 6:18 AM
David Ashton
David Ashton - avatar
+ 5
fib = [1,1] for i in range(2,11): fib.append(fib[i-1] + fib[i-2])
1st Oct 2018, 6:50 AM
Oma Falk
Oma Falk - avatar
+ 1
thanks
1st Oct 2018, 6:19 AM
haron taiko