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 — Python/chaos.py at master · TensorUI/Python Expand file tree/ Copy pathchaos.pyMore file actions 23 lines (17 loc) · 537 Bytes / Copy pathchaos.pyFile metadata and controls23 lines (17 loc) · 537 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 # A simple program illustrating chaotic behaviour def main(): print("This program illustrates a chaotic function") while True: try: x = float((input("Enter a number between 0 and 1: "))) if (0 < x and x < 1): break else: print("Please enter correct number") except Exception as e: print("Please enter correct number") for i in range(10): x = 3.9 * x * (1 - x) print(x) if __name__ == '__main__': main() |
| 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. |