Fibonacci sequence: Difference between revisions

Content added Content deleted
(Added Python)
m (typo)
Line 55: Line 55:


=={{header|Python}}==
=={{header|Python}}==
===Iteractive===
===Iterative===
<python>def fibIter(n):
<python>def fibIter(n):
if n <= 2:
if n <= 2: