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
4 Antworten
+ 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
+ 1
Now i see the mistake. Thank you.
+ 1
You're welcome.
0
https://code.sololearn.com/c1SDShwM41R7/?ref=app
Refer this ...