How do you split multiple inputs into separate lines? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you split multiple inputs into separate lines?

29th Jun 2020, 8:43 PM
way trigger
way trigger - avatar
1 Answer
+ 5
Are you talking about something like this a b c d e f as input And output: a b c d e f If so here it is how you can print("\n".join(input().split())) Otherwise provide an example of what you are trying to do
29th Jun 2020, 8:59 PM
Abhay
Abhay - avatar