0
User clarification.
Sololearn app clarification. Every time I make a code that needs user input I get a pop saying: "looks like your prog' needs input" "split multiple inputs into separate lines" What is this and what should I do? Because same code works fine on my laptop. Also, most of my codes work well on my laptop, but I mostly get syntax errors on this sololearn playground for the same lines of codes. Help someone.
2 Respuestas
+ 3
Because SoloLearn code playground can only handle the input once. If you need more than 1 input on your program, the only way is separate the input.
For example, you need to input 2 integers. What we do is: 1 4
+ 3
It's a nuisance.
e.g. when you run this code
a = int(input())
b = int(input())
c = int(input())
print(a + b + c)
you have to enter your data like this:
3 hit 'enter' 5 hit 'enter' 2 hit 'submit'
outputs 10