0

EOF error?

I don't know how to fix it please help me if u know https://code.sololearn.com/cWPJyZNuoCQk/?ref=app

12th Aug 2023, 10:40 AM
David Kyawsoewin
David Kyawsoewin - avatar
4 Respuestas
+ 3
David Kyawsoewin Are you getting an EOF error when testing? I tested your code and it is not generating an error. In Sololearn, you must iput all of your inputs before running the code, else the EOF error returns to haunt you
12th Aug 2023, 11:05 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Since your program is expecting 4 separate inputs, you need to enter all 4 (on separate lines) when prompted. I do not get the EOF error in that case, but do with a single input or when only separating them with spaces.
12th Aug 2023, 11:06 AM
Dan
+ 1
Solo learn test input make me headache. My code run fine but testing in solo learn it display EOFerror. Thanks you all for those answered my question 🫡
12th Aug 2023, 11:55 AM
David Kyawsoewin
David Kyawsoewin - avatar
0
You are given a string of the four items that you've been asked to order that are separated by spaces
12th Aug 2023, 10:59 AM
Daljeet Singh
Daljeet Singh - avatar