Help needed with an interactive game input() at Sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help needed with an interactive game input() at Sololearn

Hi! Please, help! Why input() function doesn't work properly at Sololearn code playground? I mean the pop up window appears only once without the intended narrative, and any multiple input should be entered in that window in one go. Is there any way to play an interactive guessing game like the code below without an EOF error? https://code.sololearn.com/cKFbGGPe3MPT P.S. No problem with the game in PyScripter IDLE, and my personal record is 7 guesses:)

21st Jan 2018, 11:35 AM
Sergei Zaitseff
Sergei Zaitseff - avatar
1 Answer
+ 1
They’re not allowed to make our phones compile or run the code, so when you press run, it sends the code and input if it sees correct keyword in the program to SoloLearn, it gets compiled and run there, the output is sent back. That’s also why no graphics besides in web.
21st Jan 2018, 1:26 PM
Jacob Pembleton
Jacob Pembleton - avatar