Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> # File: chaos.py >>> # A simple program illustrating chaotic behavior >>> >>> def main(): print("This program illustrates a chaotic function") x=eval(input("Enter a number between 0 and 1: ")) for i in range(10): x = 3.9 * x * (1-x) print(x) >>> main()

I have typed this exactly as it is given in the textbook and do not understand what is incorrect. I would greatly appreciate assistance. I have a homework assignment due tonight and I can't even get a basic example to run! />

Thanks in advance!!