Sign in
bazel
/
bazel
/
4310989764adb48005d0da2eb8b1c01e7189817b
/
.
/
examples
/
py_native
/
fibonacci
/
fib.py
blob: 645a937a0e3bee8fda2abbcc3e30d3f4e6bd7ade [
file
] [
log
] [
blame
]
"""An example binary to test the imports attribute of native Python rules."""
def
Fib
(
n
):
if
n
==
0
or
n
==
1
:
return
1
else
:
return
Fib
(
n
-
1
)
+
Fib
(
n
-
2
)