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.
seriously, appreciate man !! hah
but, use advantage of python :)
2 things
The error message clearly explains everything: you can't iterate over
None
.You're trying to iterate over
None
, that's what the error means. Did you check the input was a list before trying to iterate over it?Hello Coder's Family,
I Passed all test (5 out of 5) But this error show up
Traceback (most recent call last):
File "main.py", line 21, in
test.assert_equals(comp(a1, a2), False)
File "/home/codewarrior/solution.py", line 3, in comp
for a in array2:
TypeError: 'NoneType' object is not iterable
Why and anyone explain me
simple and clear, GOOD :)