0
Python code
Why this code does not run in Python? https://code.sololearn.com/cLVBt5Ek70l9/?ref=app
9 Answers
+ 3
Your program requires two inputs
So you should enter the two inputs in separate lines
Like
John
Smith
Output will be
Hello John Smith
+ 2
Muhammad
Right, thank you đ€
+ 1
Run this code to understand how SoloLearn handles inputs
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 1
You're welcome bro đAmir L
+ 1
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 đđŒ
0
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.
0
Amir L
To get several inputs ââyou need to write them from a new line.