Re: [Tutor] User Input with Multiple Lines

2014-10-26 Thread eryksun
On Sun, Oct 26, 2014 at 3:25 PM, Malik Brahimi wrote: > So I am working with input that is pasted from a PDF file, and I was > wondering if there is any way I can do so without the program terminating > abruptly because of the newlines. input() and raw_input() grab a single line of text. The rest

Re: [Tutor] User Input with Multiple Lines

2014-10-26 Thread Ben Finney
Malik Brahimi writes: > So I am working with input that is pasted from a PDF file, and I was > wondering if there is any way I can do so without the program > terminating abruptly because of the newlines. Can you construct a *very* short and simple example program, which demonstrates the problem

[Tutor] User Input with Multiple Lines

2014-10-26 Thread Malik Brahimi
So I am working with input that is pasted from a PDF file, and I was wondering if there is any way I can do so without the program terminating abruptly because of the newlines. I know that multiple lines of input can be achieved via a loop with string concatenation, but this is not what I'm looking