- 1
Faulty Code Projects?
Why yours python code project is so stupid to reject a code proposal, where the user will be asked with text to enter his weight and height!!? Sorry, the same code without this "text" passes will show as passed!?
3 odpowiedzi
+ 2
Any code that produces the expected output for each given input is accepted as correct. Even if the code is actually incorrect. But the output has to be *exactly* the same as the expected output. Otherwise it would be difficult to automate the testing process.
+ 1
In my point of view coding is also an expression of creativity. So the same code with a little more text, which explain to the potential user why and how the program works, should work in the code projects.
0
The majority of projects requires you to make use of input statements. Then the test cases consist of sololearn providing a number of different inputs for your code and comparing the output to the expected output.