Commit 66e8a83c authored by Maike Kleemeyer's avatar Maike Kleemeyer
Browse files

Change typos, add description

parent 6c5066aa
def fibonacci(n):
"""return first n fibonacci numbers"""
if n==0 or n==1:
return n
return fibonacci(n-1) + fibonacci(n-2)
......@@ -10,7 +11,7 @@ def pi(n):
for i in range(1,n+1):
pi -= (-1)**(i) * 4/j
j += 2
return pii
return pi
def factorial(n):
if n==0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment