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 :”)

5th Jul 2023, 10:53 AM
Alex K
Alex K - avatar
2 Respostas
+ 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.
5th Jul 2023, 10:57 AM
Lothar
Lothar - avatar
0
Thank you
6th Jul 2023, 8:22 AM
Alex K
Alex K - avatar