Modify the chaos programs so that it accepts two inputs and then prints a table with two columns similar to the one shown is Section 1.8 (Note: You will probably not be able to get the columns to line up nicely as those in the example. Chapter 5 discusses how to print numbers with a fixed number of decimal places.)

#Chapter 1 Question 7
#Modify the chaos program so that it accepts two inputs and prints a table with two columns.

def main():
    print("This program illustrates a chaotic function")
    x = eval(input("Enter a number between 0 and 1: "))
    y = eval(input("Enter another number between 0 and 1: "))
    n = eval(input("How many rows should I print?: "))
    for i in range(n):
        x = 3.9 * (x - x * x)
        y = 3.9 * (y - y * y)
        print("{0:10.6f} {0:10.6f}" .format(x, y))


main()