Skip to content

Commit

Permalink
[IMP] PEP8, add missing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-e committed Jan 26, 2016
1 parent 12a2e62 commit 4ad7109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

def fibonacci(n):
"""inefficiant implementation of fibonacci using recursion"""
if n==1 or n==2:
if n == 1 or n == 2:
return 1
return fibonacci(n-1)+fibonacci(n-2)
return fibonacci(n-1) + fibonacci(n-2)

if __name__ == '__main__':
print fibonacci(30)

0 comments on commit 4ad7109

Please sign in to comment.