Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Recursive Fibonacci
#python 3.6.9 #cn = int(input()) cn = 25 def fib(x): if x <= 1: return x else : return (fib(x-1) + fib(x-2)) for i in range(cn): print(fib(i))
run
|
edit
|
history
|
help
0
How does this "cn" change from a variable to a list?
by lishihao, 2 months ago
How does this "cn" change from a variable to a list?
by lishihao, 2 months ago
Code
by 8081400940, 1 months ago
Please
log in
to post a comment.
arjun chinese class
Happy new year!
super and overriding
Python input
Grupo1
PySuper
Game2
BiseccionPython
we
sheru1
How does this "cn" change from a variable to a list?
by lishihao, 2 months agoHow does this "cn" change from a variable to a list?
by lishihao, 2 months agoCode
by 8081400940, 1 months agoPlease log in to post a comment.