computers and programs inside python program the output from the chaos program may not look very excitingbut it illustrates very interesting phenomenon known to physicists and mathematicians let' take look at this program line by line and see what it does don' worry about understanding every detail right awaywe will be returning to all of these ideas in the next the first two lines of the program start with the characterfilechaos py simple program illustrating chaotic behavior these lines are called comments they are intended for human readers of the program and are ignored by python the python interpreter always skips any text from the pound sign (#through the end of line the next line of the program begins the definition of function called maindef main()strictly speakingit would not be necessary to create main function since the lines of module are executed as they are loadedwe could have written our program without this definition that isthe module could have looked like thisfilechaos py simple program illustrating chaotic behavior print("this program illustrates chaotic function" eval(input("enter number between and ")for in range( ) ( xprint(xthis version is bit shorterbut it is customary to place the instructions that comprise program inside of function called main one immediate benefit of this approach was illustrated aboveit allows us to run the program by simply invoking chaos main(we don' have to restart the python shell in order to run it againwhich would be necessary in the main-less case the first line inside of main is really the beginning of our program