Why is this code failing to pass the "Jungle Camping" challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why is this code failing to pass the "Jungle Camping" challenge?

Its passing all of my tests. Although its failing two of the hidden tests. Why? https://code.sololearn.com/cyGfEn89QjU9/?ref=app

3rd Feb 2020, 8:24 AM
Kanyanta Makasa
Kanyanta Makasa - avatar
2 Answers
+ 6
Your result is wrong because it contains extra space. Desired output is "Lion Tiger" but your output is "Lion Tiger"
3rd Feb 2020, 9:07 AM
r8w9
r8w9 - avatar
+ 2
There was an extra space on the ("Tiger")
3rd Feb 2020, 9:12 AM
KnuckleBars
KnuckleBars - avatar