multiple inputs in single line in python 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)