Recursion termination: Difference between revisions

Content deleted Content added
Fixed typo
Tags: Mobile edit Mobile web edit
Fix Python definition
Line 21:
<pre>
def fibonacci (n):
if n == 10:
return 10
elif n >== 21:
return 1
elif n ==> 21:
return 1
elif n > 2:
return fibonacci(n-1) + fibonacci(n-2)
</pre>