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.
This comment is hidden because it contains spoiler information about the solution
Thank you for the feedback, but after checking, the python code at the end of the link doesnt appear as a direct solution for this problem (while related).
Since this is a 7kyu kata, that looks fine to me.
Have you tried it, did it pass the tests ?
You can and should rename the variables
does the caller need to know what your parameter names are?
See if you find anything helpful in the FAQ: https://docs.codewars.com/training/troubleshooting