0

Please can someone help me with my code?

I have tried to complete the simple calculator found in Python module 2. However it keeps crashing with an EOFError. It is probably something very simple - I am a newbie at coding. Many thanks! https://code.sololearn.com/cb540ap6X59e/?ref=app

19th Aug 2018, 10:47 AM
Maddy Corper
Maddy Corper - avatar
1 Answer
+ 5
Your code uses while True: loop which means it will ask for input, process it, output it and goes around in eternity. You can't run a code that loops repetitively in SoloLearn Code Playground, you will need to do it in your PC/laptop which supports interactive I/O.
19th Aug 2018, 11:10 AM
Ipang