(Code coach)whn i am writing code and runs it, it says tests failed.i tried the same code in eclipse and it works | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

(Code coach)whn i am writing code and runs it, it says tests failed.i tried the same code in eclipse and it works

Is anyone facing problem with Code coach

14th Sep 2020, 7:22 PM
monika singh
monika singh - avatar
4 Answers
+ 4
I got it guyz...now it works after removing extra stuff....thanks for the help Bagon ~ swim ~
14th Sep 2020, 8:18 PM
monika singh
monika singh - avatar
+ 1
It works for some input but there might be edge cases where it won't work. Try to think of any case that might not work as intended
14th Sep 2020, 7:23 PM
Bagon
Bagon - avatar
+ 1
Bagon - You can check my code list i have saved two codes. One with fruit bowl and other one is popsicle. Those are from code coach. Coding is right i guess, still got test failed. Try it yourself.
14th Sep 2020, 7:26 PM
monika singh
monika singh - avatar
0
Yeah just checked them and you're outputting other stuff as well, but you should only output the answer in the format they ask you
14th Sep 2020, 7:33 PM
Bagon
Bagon - avatar