0
For input, when i try it myself and press enter. What does it mean by split?
6 Respuestas
+ 7
What do you mean by split?
+ 6
Ah. Well, how many inputs does your program take (posting code is always helpful)? If you have multiple, you *generally* split them into separate lines.
+ 2
It means if your code needs multiple inputs, you need to input the information on a new line of the input box.
Say your code is:
var1 = input()
var2 = input()
To fill both vars, on the input box, you'd need to enter:
1
2
var1 would now contain '1', and var2 would contain '2'.
If you were to enter 1 2 on the same line:
1 2
var2 would not be filled, and var1 would now contain '1 2'.
+ 1
says my program needs more inputs and wants me to split inputs into multiple lines.
+ 1
i have figured it out. thank you for your assistance.
+ 1
that makes sense. so for 2 vars, they would have to be in different lines.