Sep-14-2017, 06:12 AM
It is working perfectly on window 7 and python 3.6.2.
def main(): print("This is an illustration of a chaotic function") x = eval(input("enter a number between 0 and 1: ")) print(type(x)) for i in range(10): x = 3.9 * x * (1-x) print("The value of chaotic function is ",x) main()