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.
Bro
You even know how to use key in sorted function
it took me nearly as long as you, as long as you get it working in the end it's no biggie
That basically allows you to Increment by 2 in the for Loop, syntax is as follows:
for i in range(beginning, end, step)
Example: for i in range(0, 12, 2) will iterate through numbers 0 to 12 incrementing by 2 every iteration so (0, 2, 4, 6, 8, 10)
Try looking at this https://docs.codewars.com/training/troubleshooting/#works-but-no