Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
that number refers to the total number of bears that are present in the valid mating pairs
Yes, that is an issue in Python version of this kata.
The instructions say: "compare the number of pairs"
but the test check the number of bears that mate
In the first sentenced it is explained that x is number of pairs of bears:
"In order to (...) it has x number of mating pairs of bears."
However indeed the test is not passed if we count pairs, we need to cont bears instead.
Therefore, I think it is a mistake in the kata.
JS expects amount of pairs, not bears. Which language you have this issue with?