- 1
Split multiplier into multiple lines
when I try to run one your guyses codes I get this sometimes
2 odpowiedzi
+ 3
Because you bad read it ^^
The prompt box exact message should be << Split multiple inputs into separate lines >>... because (except for web projects) in code playground scripts are compiled/executed on server side, so user inputs have this 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 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) ^^
0
I have looked it up online and I still can't figure it out what is split multiplier into multiple lines