+ 2
Is it true, Code playground here can't call the prompt more than once in a sequence, what's the cause?
8 Respostas
+ 4
the code is ran on a remote server. all input needs to be given at once, each on a new line, then hit submit
+ 4
Muhamad Luthfi that can't happen as Slick already mentioned that your code is not running on your device instead running on a remote server which only allocates limited time(3-5 seconds) for your code to execute, so to make full use of that time, you are asked to give all the input beforehand so that program doesn't have to wait for user input and waste that precious time.
+ 4
Simba 😁 ya, but it's fun, you know
Thanks for the sharing 👌
+ 3
Muhamad Luthfi Yeah I misunderstood your question earlier lol 😅
Btw,take a look at this lesson for better understanding
https://www.sololearn.com/post/664632/?ref=app
+ 3
Oh, I see thx Arsenic 🔥👍
+ 1
Slick is it can't prompt-output-prompt again-output, or prompt-prompt-output
+ 1
What? No, If you put 3 inputs, give 3 when you run it. Just give all the inputs it needs then submit. Sololearn isnt interactive