Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

multiple line input python

lines = []
while True:
    line = input()
    if line:
        lines.append(line)
    else:
        break
text = '
'.join(lines)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #line #input #python
ADD COMMENT
Topic
Name
8+8 =