python multiple inputs on one line code example
Example: multiple line input python
lines = []
while True:
line = input()
if line:
lines.append(line)
else:
break
text = '\n'.join(lines)
lines = []
while True:
line = input()
if line:
lines.append(line)
else:
break
text = '\n'.join(lines)