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.
thank you for the wiki link!
thank you for the clarification! So the issue is not actually residing in different kinds of 'nulls' (or
None
s, in Py) thatNone
andpass
would generate - as I thought was happening - but in the way Ireturn
edNone
all together.Much appreciated, Chrono, thank you!
hi!
i guess I got thrown off a little by the instructions stating that 'If the whole array is consecutive then return null.' so I would appreciate some clarity on the difference between None and Pass.
In my code, within my if statement, I returned
None
if the numbers were consecutive, but this would fail the test.When I changed
return None
to apass
, the test would pass.I am trying to understand the difference between
None
and apass
sincepass
seems to be a null operation here: https://docs.python.org/2.0/ref/pass.htmlThnks in advance!