Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ramkan7
/
Patch_Hawk
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Patch_Hawk
/
patchhawk
/
data
/
benign
/
math_fibonacci.py
RAMCr7
Final patch
58f6308
10 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
174 Bytes
def
fibonacci
(
n
):
"""Return the nth Fibonacci number."""
if
n <=
0
:
return
0
elif
n ==
1
:
return
1
return
fibonacci(n -
1
) + fibonacci(n -
2
)