Sign in
bazel
/
bazel
/
930ee3ca66d710ccf76adbaab38f5974667f897b
/
.
/
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
)