What should I do when im asked to split multiple lines | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What should I do when im asked to split multiple lines

Im new

29th Apr 2020, 12:00 PM
Francis
2 Answers
+ 2
Your question is not clear.! Make it more clear and this programing world not chemistry
29th Apr 2020, 12:11 PM
Ayush Kumar
Ayush Kumar - avatar
+ 1
It means that if your code expect multiple input when it run, you must provide all at once, each on a new line... Python example (as that's the language you seems to learn according to your profile infotmations): name = input('enter your name: ') age = input('enter your age: ') print('hello',name,'your age is',age) So you press the "run" button and you are asked for spliting input in multiple line: Francis 21 you validate, script and input are send to sololearn servers, executed without interactivity, output collected and then sent back to you... the app then show your output: Hello Francis your age is 21
29th Apr 2020, 6:14 PM
visph
visph - avatar