The input and output is as wanted, but why error?

Neil Cerutti neilc at
Tue Dec 3 17:58:45 CET 2013

On 2013-12-03, geezle86 at <geezle86 at> 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

More information about the Python-list mailing list