multiple input in different line 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)