0

Another PigLatin test failure question

Good day! Could someone please explain why the first version of the code from the example passes all the checks of the code_coach PigLatin, despite the presence of an extra space at the end of the output line, and the second code does not pass the 3rd and 5th checks. Thanks. https://code.sololearn.com/cC9NQF79dIFu/?ref=app

21st Jan 2020, 11:33 AM
Виктор Александров
Виктор Александров - avatar
4 Respostas
+ 1
Try input: xxxxn yyyyn It has something to do with the fact that if first letter is repeating inside the word. EDIT: Found example with actual word: successful your ouput: uccefulsay expected: uccessfulsay
21st Jan 2020, 11:51 AM
Mihai Apostol
Mihai Apostol - avatar
+ 1
Now i see the mistake. Thank you.
21st Jan 2020, 12:52 PM
Виктор Александров
Виктор Александров - avatar
+ 1
You're welcome.
21st Jan 2020, 12:53 PM
Mihai Apostol
Mihai Apostol - avatar
21st Feb 2022, 10:52 AM
Moin Amaan Khan
Moin Amaan Khan - avatar