+ 2

Why is it an EOFerror?(Python)

Help me!! When I making code, EOFerror occured. Why is it wrong? https://code.sololearn.com/cW048WxS1g54/?ref=app

6th Mar 2022, 12:10 AM
Chris
2 odpowiedzi
+ 3
Here is very good explanation how input in sololearn work https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
6th Mar 2022, 12:21 AM
PanicS
PanicS - avatar
+ 5
In sololearn we need to provide all inputs when we run code, you get eof when input is not provided. I tested code and it work, no error. Type your input in format: 10 5 So 10 will be first input, 5 will be second, each line is diferent input
6th Mar 2022, 12:19 AM
PanicS
PanicS - avatar