+ 3

Sololearn's confusing input

I saw a lot of console codes in sololearn which gives a vague explanations of the inputs the user should enter. Especially large codes which requires lots of input. added to that the still unavailable feature of runtime compilers on sololearn that makes it hard for users to know what to input. resorting users to manually dry run each program until they found each input statements. to this i offer a standard for sololearners to which every input would be defined at the start of the program to give users a more user-friendly way of using your codes. first off all, creating a comment on top of your program that gives a short explanation of your code/what your code does. next, is to write a formatted input example with the given data type. for Ex. your program loops your input string x number of times. the standard input guide would be something like this """ program that prints string x number of times. string (string to loop) integer (number of times string looped) """ another example is provided below

27th Sep 2019, 12:14 PM
Shen Bapiro
Shen Bapiro - avatar
2 Réponses
27th Sep 2019, 12:14 PM
Shen Bapiro
Shen Bapiro - avatar
+ 2
lvl 1 crook Good point unfortuntly, most of the coders are beginners. Beginners that do not know of the industries best practices. I believe the more experienced naturally would specify what they want you to input.
27th Sep 2019, 1:38 PM
Manual
Manual - avatar