chore: update workspace config and memory

This commit is contained in:
arin
2026-03-30 19:30:25 +09:00
commit f3726b39d1
3479 changed files with 346874 additions and 0 deletions

16
test_fib.py Normal file
View File

@@ -0,0 +1,16 @@
def fibonacci(n):
"""Return a list containing the Fibonacci sequence up to n terms."""
if n <= 0:
return []
sequence = []
a, b = 0, 1
for _ in range(n):
sequence.append(a)
a, b = b, a + b
return sequence
if __name__ == "__main__":
terms = 10
print(f"First {terms} Fibonacci terms: {fibonacci(terms)}")