0
Why input() function does not work here? Doesnât request any input
Why input() function does not work here? Doesnât request any input For example this code does not work testing = input(âEnter your text :â)
2 Answers
+ 8
Alex K ,
this is due to the input behavior of the sololearn playground.
note that when you run input in sololearn playground, you need to provide *all* the inputs in the popup, separated by new lines.
there is one exception from this input procedure. if you are prompted to input something separated by comma, space or another delimiter, you should input everything in one line with the mentioned delimiter and then finally tap submit.
if the code is executed in a regular ide like *visual studio code* or others, the behavior is as expected.
0
Thank you