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.
in Python,
[]
is empty, and would evaluate as a BooleanFalse
, but it is not equal toNone
.I've logged the params. It printed as above. And gave error
Then I remembered that in python [] is equal to None...
And compared them and it worked flowless
Python
I fail this one test...
a1 = [2, 2, 3]
a2 = [4, 9, 9]
test.assert_equals(comp(a1, a2), False)
Because don't think about count of elements, and use the set in my solutions((
That test expects False, your code is failing another test.
This comment is hidden because it contains spoiler information about the solution