0

Can anybody help me with my problem?

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

6th Aug 2017, 8:26 PM
Hagen Marin
Hagen Marin - avatar
2 Réponses
+ 4
Did you have problem with this code in the sololearn code playground? In code playground scripts are compiled/executed on server side, so user inputs have limitation that you need to send all required input for the whole execution of the script at once at beginning. If your script will ask user one numbers and later a word, write them with new line for each, but in the only alone field prompted at start, as: 42 forty-two ... the script will read input from this rather from real standard input and will throw an EOF error if not enough data is provided. The output work in a same kind of way, buffering it on server side and sending it at once at end of script to be displayed to user... Unfortunally, these in/output limitations doesn't allow real interactive script to run on playground (such as a guess number game) ^^
7th Aug 2017, 7:04 AM
visph
visph - avatar
+ 1
What is the problem?
6th Aug 2017, 8:47 PM
Jakub Stasiak
Jakub Stasiak - avatar