+ 3
Is there any way to ask for input more than once in the SL emulator?
I'm trying to create some code, that would require more than one input from the user and each input should be provided depending on the output that the previous input generated. This concept does not seem to work on SL's emulator as it asks for all input at once. Is there a way to work around this? I am working with Python, but any help that applies to other languages would also be appreciated.
2 Respostas
+ 6
Nope. SL asks for the input all at obce because it sends the code and the input to the remote interpreter. It is done only once per execution, so no multiple single inputs are possible.
+ 1
Thought so, but had to make sure. Thank you.