On 2013-12-03, geezl...@gmail.com <geezl...@gmail.com> wrote: >> x = input()
Your first problem is that input() returns text only up the a newline, and then stops. So you are reading the initial number line, but never reading the rest of the lines. -- Neil Cerutti -- https://mail.python.org/mailman/listinfo/python-list