I am trying to solve a Krypto problem on https://www.spoj.pl in Python, which includes console input.
My problem is that the input line has several lines, but is needed as one line in the program. If I just use raw_input () and paste (for testing) the text in the console, Python threatens it, as I clicked, type after each line -> I need to call raw_input () several times in a loop.
The problem is that I canβt change the input line in any way, it doesnβt have a character that marks the end, and I donβt know how many lines there are.
So what should I do?
source share