diff options
Diffstat (limited to 'examples/py/lib.py')
-rw-r--r-- | examples/py/lib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/py/lib.py b/examples/py/lib.py new file mode 100644 index 0000000000..a27d4ce47c --- /dev/null +++ b/examples/py/lib.py @@ -0,0 +1,5 @@ +def Fib(n): + if n == 0 or n == 1: + return 1 + else: + return Fib(n-1) + Fib(n-2) |