Solo Learns Code Playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Solo Learns Code Playground

So recently because I was getting a lot of "EOFError: EOF when reading a line" these. My code works perfectly fine in the IDLE, in CodeSkulptor and Trinket. Most of my python programs and a few others have been getting EOF errors where there should not be, because I want to upload my programs and want them to work I embed the code with https://trinket.io/. In the HTML play ground. Why doesn't the python work? Is there a way around this?

5th Nov 2016, 10:47 PM
-- -- --
2 Answers
+ 2
It looks like code playground accepts user input only once... if you call input() twice you get that error
5th Nov 2016, 11:08 PM
clostry
+ 2
Yeah, sololearn has got really bad python input system...
6th Nov 2016, 8:24 AM
Redstone Tehnik
Redstone Tehnik - avatar