+ 1

simple math test help please

I wrote this and it gives me an error on 1st line, when I run the same thing on my pc it works fine.. what's different with the app that I need to change.. thank you http://www.sololearn.com/app/JUMP_LINK__&&__python__&&__JUMP_LINK/playground/cy6ubhqG24HB/

23rd Aug 2016, 8:34 PM
Matthew J Archambault
Matthew J Archambault - avatar
2 Antworten
+ 1
All I can think off is you have something in the application that has is compatible with spliting input as you did. If you just seperate it in two input lines it should work
25th Aug 2016, 1:32 AM
Michael
0
oke, the problem is, in the app if you ask input from the user, you have to type it in multiple line, so there is a linebreak. in your code input is expected in one line, i suppose. that is why your program says, that 2 input is expected, and it receives only one, wich is typed in the first row. i hope it helps.
27th Nov 2016, 1:38 PM
Benedek Máté Tóth
Benedek Máté Tóth - avatar