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.
Kata says function "takes a list of non-negative integers and strings"
it should be non-negative...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks, I must not have noticed this :)
"a list of non-negative integers and strings" states clearly that this list can only contain non-negative integers or strings, nothing else :)
What if one of the elements is a float or boolean?