diff --git a/Day-19/joe_g.py b/Day-19/joe_g.py new file mode 100644 index 0000000..e385b03 --- /dev/null +++ b/Day-19/joe_g.py @@ -0,0 +1,8 @@ +def fibonacci(n, a=0, b=1): + if a > n: + return + print(a, end=" ") + fibonacci(n, b, a + b) + + +print(fibonacci(25))