+ 2

Why is it that anytime I code python with SOLOLEARN, they always tell me EOF error but if I use pydroid 3,it works very well

https://code.sololearn.com/cxR41MS65kyp/?ref=app

26th Sep 2023, 9:28 PM
Michael Chukwusom Onaiwu
Michael Chukwusom Onaiwu - avatar
4 ответов
+ 5
The Sololearn platform requires all inputs to be submitted before running the code, which differs from external IDE's This is the cause of your EOF errors
26th Sep 2023, 10:00 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 4
There are many ways to present a calculator. I have attached a code which uses a dictionary instead of all of your defs. You could adapt it to suit yourself with extra functionality https://code.sololearn.com/cctAihtplABa/?ref=app
28th Sep 2023, 1:14 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Rik Wittkopp thanks 🙏
28th Sep 2023, 9:34 AM
Michael Chukwusom Onaiwu
Michael Chukwusom Onaiwu - avatar
+ 1
Please can you show me how to do it Rik Wittkopp
27th Sep 2023, 3:26 PM
Michael Chukwusom Onaiwu
Michael Chukwusom Onaiwu - avatar