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.
yep)
But that's being super-pedantic since you're returning a list and not an array. It's a shared description. Imo returning a tuple in this context makes more sense for Python.
Even though they say return array not tuple test cases are passed.
Here you return tuple instead of array
This comment is hidden because it contains spoiler information about the solution
It is an explicit conversion for code readability
What is the use of list here? Sorted alredy returns a list.
Default values of class attributes (lives, level) should be mentioned in Description, not just in tests.
A more detailed description on what should happen in case pacman eats ghost at 0 life should be explained (Does he stay on 0 live? Does he reset to 3? Does he go to negative?)
Required names for all class attributes should be also mentioned as precise as possible (no "ball count", but "ball_count"
A note saying something along the lines: "You can implement class Ghost however you want. Constructor in class Ball needs to be able to take 'ball_type' argument, which is a string saying either 'regular', or 'super', or is not present at all (in that case, regular is default)" would be nice