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.
@acaccia
OK I see now in the 2.7 documentation. My mistake, thanks for the help.
If iterable is a string or a tuple, the result also has that type; otherwise it is always a list.
How can
int
accept the result fromfilter
?int
requires a number or string, andfilter
returns a list.TypeError: int() argument must be a string, a bytes-like object or a number, not 'filter'
Test cases are incorrect