#output:



>>> menu()
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
>>> main()
('\n\nThe list is', [30, 10, 20])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 1
Enter a new list: [34,56,78]
I didn't understand your input. Not changing L.
('\n\nThe list is', [30, 10, 20])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 2
('The next element is', 42)
Adding it to your list...
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 3
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 4
('The minimum value in L is', 10)
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 5
('The minimum value in L is', 10, 'at day #', 1)
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 6
(6, " ?      That's not on the menu!")
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 7
(7, " ?      That's not on the menu!")
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 8
(8, " ?      That's not on the menu!")
('\n\nThe list is', [30, 10, 20, 42])
()
(0) Continue!
(1) Enter a new list
(2) Predict the next element
(9) Break! (quit)
()
Choose an option: 9
()
See you yesterday!
>>> 
