Sign in
bazel
/
bazel
/
85c77fefc453547bffa662b219a9bb5e75d576e8
/
.
/
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
)