GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — StarterLearningPython/fib/fib04.py at master · Yzgl/StarterLearningPython Expand file tree/ Copy pathfib04.pyMore file actions 12 lines (10 loc) · 173 Bytes / Copy pathfib04.pyFile metadata and controls12 lines (10 loc) · 173 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 #!/usr/bin/env python #utf-8 def fib(n): a, b = 0, 1 while n > 0: a, b = b, a + b n -= 1 return a if __name__ == "__main__": print(fib(4)) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |