Skip to content Skip to sidebar Skip to footer

Input A Multiline String In Python

I am trying to create a simple programme that inputs a single multiline input and outputs it as a table. input: a b c I know i could have done this is easily in python 2.7.5 by us

Solution 1:

just try.

aux = ''
'\n'.join(iter(input, aux))

Post a Comment for "Input A Multiline String In Python"