Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Ramkan7
/
Patch_Hawk
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Patch_Hawk
/
patchhawk
/
data
/
benign
/
math_fibonacci.py
RAMCr7
Final patch
58f6308
4 months ago
Raw
Download with hf CLI
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
)