9 Answers
New AnswerYour program requires two inputs So you should enter the two inputs in separate lines Like John Smith Output will be Hello John Smith
Run this code to understand how SoloLearn handles inputs https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
I got easier solution , instead of using two input function , assign only one input and add .split() to it and and store in two different variables 👍🏼
In Sololearn you have to specify input once before the start of the program. That is way your program gives a weird output.
ravilnicki I know. But in SoloLearn you can not get two inputs! I enter the first input but I have no way for the second input.
Like Muhammad said. When you have more than one line of input you have to specify it on a seperate lines.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message