How to validate solution of Code Coach | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to validate solution of Code Coach

I tried to solve one of the code challange. My code is correct and it is giving the desired output in my PC but when I put that into this app it fails in the test. I tried giving the Input manually and it passes one one test at a time and I'm not shown more than 2 test for my code as they are locked. And in my profile it doesn't shows that I solved the problem despite my code works on my PC. https://code.sololearn.com/cVSHmBFqmHDp/?ref=app https://code.sololearn.com/cVSHmBFqmHDp/?ref=app

6th Apr 2020, 5:49 PM
Sujan Gamal
Sujan Gamal - avatar
2 Answers
+ 5
Remove the statements "Enter the sentence: \n" and "Translated: " You don't need to print those statements in code coach because the cases are given directly. But you can use those statements normally while writing the code outside code coach.
6th Apr 2020, 5:53 PM
...
0
input() print(alien)
6th Apr 2020, 7:05 PM
JAHANGEER LATEEF WANI
JAHANGEER LATEEF WANI - avatar