DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
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
COMMENT
Name
2+9 =
Submit