+ 3
"Seems like your program requires input" ?
"Seems like your program requires input" why a dialogue box titled with the double quoted line is coming on running the code in CODE PLAYGROUND
4 odpowiedzi
+ 5
Code Playground does not provide a live console (at least not yet), so all input will have to be received prior to code compilation/interpretation. There is no way to alter the dialogue box.
+ 1
can you provide Code , so community can help you
0
At least for the Python 3 CODE PLAYGROUND, it seems that the parser just scans for "input" anywhere in the code, so if you have a variable named 'inputs' then even though you might not be calling the input function, the code playground will still ask for some. You can fix that by replacing your variable name that contains 'input' embeded in it with a different name.
For example, I had a variable called 'inputs', and replaced it with 'ixputs'. That stopped the "seems like your program requires input" dialog from coming up
- 1
It appear when your code that contain some instruction that request an input from user (at example input() in python, cin in C++, scanf in C etc) for emulate input