+ 1

How does Sololearn code coach work?

I took a code coach challenges and did it but what are these "test cases". I Can't run the program like normal.

17th Jul 2020, 3:42 PM
Shubham Tiwary
Shubham Tiwary - avatar
3 Antworten
+ 4
Code coach works like most of the competitive programming platforms where all you have to do is provide them the code and then your code is subjected to different test cases, each test cases contain some kind of input(according to the instructions provided with the question) and your code passes if and only if it generates desired output.
17th Jul 2020, 3:47 PM
Arsenic
Arsenic - avatar
+ 1
Arsenic You were right man I'm so sorry. In the input I wrote some text so maybe that was taken as part of input by SOLOLEARN. It works now! Sorry for asking without trying myself
17th Jul 2020, 4:00 PM
Shubham Tiwary
Shubham Tiwary - avatar
0
It's the password validator question. There are 13 test cases. the first 2 cases' expected output is the same as my output and from 3rd test case onwards it is locked. Here's the code : https://code.sololearn.com/cAXqlr9sxP0c/?ref=app I still can't get it to work 😭
17th Jul 2020, 3:56 PM
Shubham Tiwary
Shubham Tiwary - avatar