User Input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

User Input

I love interacting with others code but when it promts me to enter something there is almost never a prompt for what type of data I should enter, is this because the programmer did not implement a promt or am I just dumb? I look to the code to try and understand but sometimes since I am unfamiliar with that language I cant find the input or how its used.

19th Jul 2019, 3:07 AM
Lisa Sky
Lisa Sky - avatar
1 Answer
+ 1
Besides the web playground on SL, the prompt screen cannot be given any text to direct the user with what they should enter. The best thing the programmer could do is provide a comment at the start of the code clearly stating what you have to enter, but besides that there isn't really a way of saying what the input should be 🤷‍♂️
19th Jul 2019, 4:24 AM
Faisal
Faisal - avatar