After Exercise 8 |Difference in Expected and mine output

Upto exercise 8 i have passed every test case. After exercise 8, the output of provided function i.e expected output and mine output are totally difference.
What could be the reason?
Could you please guide me for solving this.

Hi @anjil,

If you take a look at the outputs sequentially, then yes, they seem incorrect.

But if you look closely, the output you are getting is not in the same order as the expected output. For example, the first word in your output is dog, and in the expected output the first word is cat.

If you map your output word by word with the expected output, you’ll notice that it matches and, in fact, your output overall is correct.


Yeah thats true
Thank you for response.