0
Why this apps showing that syntax error where vs code run it ok
6 Answers
+ 2
No need to read the "Lesson 2" code, just open it, and tap the Run button. It will show you how input works in SoloLearn.
FF9900 had pointed out the simple solution, that is to write the two numbers to be calculated in the input dialog, one number on each line.
+ 6
Prakash Dhar ,
if you run the code as it is shown in your sample, it will take the 2 input values (strings) and is going to concatenate them as a string that is finally output.
first input: 2
second input: 4
result = 24
if this code is used in a code coach exercise, it should not have any user prompt inside the input() function.
+ 2
Run this code to understand how input works in SoloLearn.
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 1
Ipang i m just a begainer. What u r asking me to follow thats a lot to understand for me. Can u just show me simple solutions
0
I just get 1 prompt to input one number and 2nd time there is was no prompt and output was systex error
lhose two line made for convert string to integer