+ 2

Is it true, Code playground here can't call the prompt more than once in a sequence, what's the cause?

10th Dec 2020, 10:36 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
8 Antworten
+ 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
10th Dec 2020, 10:37 AM
Slick
Slick - avatar
+ 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.
10th Dec 2020, 11:14 AM
Arsenic
Arsenic - avatar
+ 4
Simba 😁 ya, but it's fun, you know Thanks for the sharing 👌
10th Dec 2020, 11:27 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 3
Simba this is for all languages that deals with dialog box section eg. prompt, but for now I'm having trouble in python
10th Dec 2020, 11:11 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 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
10th Dec 2020, 11:17 AM
Simba
Simba - avatar
+ 3
Oh, I see thx Arsenic 🔥👍
10th Dec 2020, 11:24 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 1
Slick is it can't prompt-output-prompt again-output, or prompt-prompt-output
10th Dec 2020, 10:42 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 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
10th Dec 2020, 10:44 AM
Slick
Slick - avatar