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/fib02.py at master · dlimcode/StarterLearningPython Expand file tree/ Copy pathfib02.pyMore file actions 11 lines (8 loc) · 180 Bytes / Copy pathfib02.pyFile metadata and controls11 lines (8 loc) · 180 Bytes 1 2 3 4 5 6 7 8 9 10 11 #!/usr/bin/env python # utf-8 from math import sqrt def fib(n): return ((1+sqrt(5))**n - (1-sqrt(5))**n)/(2**n*sqrt(5)) if __name__=="__main__": f = fib(4) print(f) |
| You are visitor 01402775 — 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. |