bunch more testcases

This commit is contained in:
Nathan Braswell
2022-04-12 00:14:09 -04:00
parent 55afa8977e
commit c6071dbbe1
17 changed files with 508 additions and 0 deletions

11
fib_let.py Normal file
View File

@@ -0,0 +1,11 @@
import sys
def fib(n):
if n == 0:
return 1
elif n == 1:
return 1
else:
r1 = fib(n-1)
r2 = fib(n-2)
return r1 + r2
print(fib(int(sys.argv[1])))