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 is how i dealt with it:
https://www.codewars.com/kata/5389864ec72ce03383000484/discuss/python#6104a1cd704a9e00491fec7f
This comment is hidden because it contains spoiler information about the solution
Really enjoyed this kata!
Task description and function name should be updated to reflect the task without being confusing.
As other comments have explained this task can be misunderstood quickly.