+ 1
Unknown error!?!
I never see this error before :( traceback (most recent call last): File "file0.py", line 2, in <module> var=float(input()) EOFError: EOF when reading a line Fix for me please😱😱😱
8 Respostas
+ 3
Nố Nồ Nô Ôk
In Sololearn you have to take multiple inputs together with separate lines. Error comes because of that.
If you have taken 2 inputs then you have to enter 2 inputs.
For multiple inputs you have to multiple inputs.
+ 4
Nố Nồ Nô Ôk
The error accurs when the code only gets one input. It requires two to run, so if it only gets one number it will throw an error
+ 3
We need to see the code to be able to help you
+ 2
https://code.sololearn.com/cNv8pZWYqd84/?ref=app I copied the code from
https://code.sololearn.com/cwJ65zTIfL4M/?ref=app and edit to try to fix the error.
+ 2
Actually her code has no error.
An error is displaying be.coz of sololearn input format.
You have to put 2 inputs for weight and height simultaneously
Eg- 50 ( click enter for next line)
150 and then hit submit button
Just putting only one input at a time might show you EOF...
+ 1
Thanks for your helps :)
0
Brain & Bones I filled the first input and the error display
- 1
I no nothing i want finish