[code coach]: pig latin | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

[code coach]: pig latin

My program output match with the expected output, but single test case didn't get passed all failed...! https://code.sololearn.com/cMOJftgtoi05/?ref=app

16th Jan 2020, 5:49 PM
Ajith
Ajith - avatar
3 Answers
+ 1
It's better to change your code to what exactly you specified there in code coach... Then It will be easy to find out where going wrong..
16th Jan 2020, 6:28 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna thank you sir... For Example: Input: good day Output: oodgay ayday Like this output we should get in pig latin problem. I am getting the same output pattern, still failed in all test case and there is no space at the end of output string.
17th Jan 2020, 5:12 AM
Ajith
Ajith - avatar
0
AJITH ACHARYA I mean change this to exactly what you including in code coach.. Like taking the input manually.. And for the input your taking is of 22 chars with changes it needs only 30 chars (after adding ay) but your output containing 31 chars so there is extra char at the end...
17th Jan 2020, 7:27 AM
Jayakrishna 🇮🇳