bunch of changes
Some checks failed
Build / build (push) Failing after 5m54s
Publish Image / publish (push) Failing after 35s
Test / build (push) Failing after 5m46s

This commit is contained in:
Chuck Smith
2024-03-28 17:19:23 -04:00
parent 244b71d245
commit fb0cebaf56
16 changed files with 174 additions and 320 deletions

22
examples/fib.py Normal file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python3
import sys
print(sys.argv)
n = 35
def fib(x):
if (x < 2):
return x
return fib(x-1) + fib(x-2)
def main():
global n
if len(sys.argv) > 1:
n = int(sys.argv[1])
print("{}\n".format(fib(n)))
if __name__ == "__main__":
main()