0
Get two inputs to include in print
I want to get two input from user to display them in a sentence. I have tried with following code. Help me find my error. a = input() b = input() print(a + ", " + b)
2 Antworten
+ 8
Yes , In Code Playground you can input either by giving space or by enter.
e.g:
input1 input2
or
input1
input2
+ 5
Sololearn won't ask you twice to input strings, instead use the return key ↩ to go to the next line and put your second string there then it will work. There's nothing wrong with your code 😉