Question: At present, is it possible to process a single input without going through a bunch of effort to non abritruly process that single input as multiple strings?
What I know of, there is:
x, y = raw_input(), raw_input() print(x + y)
But this isn’t really what I’m wanting, if anything I want the inverse: I want to assign multiple strings from one input line.
Is this currently possible?
The ruby version is:
x, y = gets.chomp, gets.chomp print x + y
When what I’m wanting is more like:
w = gets.chomp x = w y = w z = w print x + y + z
But for entire words, not individual characters.