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

Code coach: pig latin

Firstly, what am i expected to do when I see 1 or 2 test cases failing?....In pig latin, i put the following code and had test case 3 and 5 fail...if there's anyone who could debug my code, please do. And thanks in advance.... (My code can look silly cause i am just a beginner) https://code.sololearn.com/cF07JLTYNX0x/?ref=app https://code.sololearn.com/cF07JLTYNX0x/?ref=app

25th Dec 2019, 12:42 PM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar
6 Answers
+ 2
Hey, that's tricky. Please try following words: xest test Do you see the differenz in number of chars?
25th Dec 2019, 1:02 PM
Coding Cat
Coding Cat - avatar
26th Dec 2019, 9:48 AM
Mahdi Rostami
Mahdi Rostami - avatar
+ 1
bahha🐧 yes, your are right. But that's no Problem. Is the same as in my solution. And that passes all test cases.
25th Dec 2019, 2:33 PM
Coding Cat
Coding Cat - avatar
+ 1
What's so special about case 3 to fail again and again?
25th Dec 2019, 6:53 PM
Hazem
Hazem - avatar
+ 1
Thanks to all....i got my answer...and i debugged my code already :)
28th Dec 2019, 8:07 AM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar
0
"ay " has an extra character.
25th Dec 2019, 1:39 PM
Bahhaⵣ
Bahhaⵣ - avatar