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

Neil Cerutti neilc at norwich.edu
Tue Dec 3 11:58:45 EST 2013


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




More information about the Python-list mailing list