Sign in
bazel
/
bazel
/
4569b2abda7c520229820fd548693397b2411358
/
.
/
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
)