projects
/
swc-testing-nose.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
testing/nose: Restructure to split out examples
[swc-testing-nose.git]
/
testing
/
nose
/
exercises
/
fibonacci
/
3.2.natural
/
fibonacci.py
1
def fib(n):
2
# finally, some math
3
if n == 0 or n == 1:
4
return n
5
else:
6
return fib(n - 1) + fib(n - 2)