Sign in
bazel
/
bazel
/
22ef2dbbc5592611669f25b2f4b166b083007829
/
.
/
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
)