[Tutor] User Input with Multiple Lines

Ben Finney ben+python at benfinney.id.au
Sun Oct 26 23:27:25 CET 2014


Malik Brahimi <mbrahimi02 at gmail.com> 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, and show it here?

-- 
 \           “The cost of education is trivial compared to the cost of |
  `\                                     ignorance.” —Thomas Jefferson |
_o__)                                                                  |
Ben Finney



More information about the Tutor mailing list