HumaneFutureLab/QC67_cosmo-bucket / creations /20260719_203817_python_generated.python
HumaneFutureLab's picture
download
raw
264 Bytes
def fibonacci(n):
"""Calculate Fibonacci number at index n."""
if n < 0:
raise ValueError("Negative indices are not supported.")
a = 0
b = 1
for _ in range(n):
a, b = b, a + b
return a

Xet Storage Details

Size:
264 Bytes
·
Xet hash:
dc731e53dd547117bb4bc3b4382f06680e464060ac57e4157dd7eb18ec7d2f24

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.