- 1
my first program
Why dosnt this work http://www.sololearn.com/app/JUMP_LINK__&&__python__&&__JUMP_LINK/playground/cetLCp24uHy0/ It runs x fine but not y why ?
6 odpowiedzi
+ 1
You need to change your code to this.
x=int(input())
y=int(input())
z=x+y
print(z)
and use separate lines for inputting next number.
+ 1
It says something about Line 3
0
I write Line 2 and 3 the same it gets Line to but NOT Line 3 Why.
0
I tried this Way Why is it wrong http://www.sololearn.com/app/JUMP_LINK__&&__python__&&__JUMP_LINK/playground/cvRIBYh8DAxy/
0
I think the input is wrong.
you should give nunber one, then press the enter key on your keyboard. Then the second number. And only then the subnit link on the screen.
Your second code works if the input is correct. The first code last line contains an "=", it doesn't belong there.