+ 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😱😱😱

25th Aug 2021, 1:19 PM
Nố Nồ Nô Ôk
8 Answers
+ 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.
25th Aug 2021, 3:09 PM
A͢J
A͢J - avatar
+ 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
25th Aug 2021, 1:35 PM
Brain & Bones
Brain & Bones - avatar
+ 3
We need to see the code to be able to help you
25th Aug 2021, 1:27 PM
Brain & Bones
Brain & Bones - avatar
25th Aug 2021, 1:32 PM
Nố Nồ Nô Ôk
+ 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...
25th Aug 2021, 4:29 PM
Myo Thuzar
Myo Thuzar - avatar
+ 1
Thanks for your helps :)
25th Aug 2021, 11:47 PM
Nố Nồ Nô Ôk
0
Brain & Bones I filled the first input and the error display
25th Aug 2021, 1:37 PM
Nố Nồ Nô Ôk
- 1
I no nothing i want finish
27th Aug 2021, 2:46 AM
Saovanee Stepple