0
Can someone help me figure out why I can't get this code to work?
Can someone help me out here? Everytime I try to run the code in sololearn's playground, I keep getting this: Traceback (most recent call last): File "..\Playground\", line 4, in <module> mpg = input... EOFError: EOF when reading a line I've tried everything that I could think of (although I am not that experienced with sololearn's interpreter), and I think I am going to have to throw in the towel now and ask for help... Cause if I don't stop staring at those 2 dozen lines of codes soon, my keyboard is going to end up going through my monitor.. Can anyone help a very frustrated and stubburn old geek out? https://code.sololearn.com/cr5r42ldFY0q/?ref=app
2 Respostas
+ 2
Remember that in Sololearn all inputs must be entered at the beginning of the program.
Try this as input:
1
100
First number is the convert choice. Second number is the amount of MPG or L/100km to be converted.
0
Diego Acero I actually had no idea that we had to do that !...
But thank you SOOO much !