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.
In the description, there is a box that makes it look like the "players" argument is a list of letters (I fell for it too at first because of the 8kyu rank), but if we double check the description we can see the "players" argument is actually a list of instances of an object.
We know ".name" is an attribute of the object. We also know the answer we are looking for is the "goose" instance of the object followed by ".name". So, if you have found the "goose," add ".name" to it. This will return the requested name attribute for the "goose" instance of the object. (This information is all from the description so I am marking it as spoiler-free unless others disagree).
Fixed. For the record, sample test has always been free to change as it doesn't trigger a re-validation.
Also for
2.675
being rounded to2.67
, it's intended because of floating point error. If you want to handle floating point error properly, use the proper tools like aDecimal
type.Python final tests are locked and can't be modified anymore. You can write a solution that passes the sample and the final tests if you want (it's possible).
Maybe that particular sample test could be removed to be consistent.