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.
There are plenty of solutions in python without any imports. If you are frustrated, forfeit and have a look at the solutions, some are quite clever.
Yes, most-connected-to is not a way to go. You need to think of something different.
Last line of the kata:
The array will never be empty.
Also 8th kyu kata are introductory, so error handling would be too advanced for this kata.
Good for you and all but the whole reason I'm using python here is to do dumb shit like this.
I have more than enough readable code with my job, this is purely for fun.
Is that better? :D
https://www.codewars.com/kata/reviews/60219724ec17200001a89d56/groups/6024fe54c5d1a00001d04c19