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.
I came up with this solution too :)
This comment is hidden because it contains spoiler information about the solution
update: its not needed, dont know why OC used list?
I actually dont think so, but I might be wrong, ill test and update :)
Exactly like my solution
does not work:
for None: TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
for str: TypeError: unsupported operand type(s) for +: 'str' and 'int'
Wow! Nice
I wonder, is this kind of functionality used much in python code production? ( student here)
Thank you so much @stok
This comment is hidden because it contains spoiler information about the solution
Amazing amazing! I appreciate this soltion to help me revise Try Except! :)
This comment is hidden because it contains spoiler information about the solution
Took some refactoring, but glad I got there :)
Because it mutates the array, and therefore will affect any subsequent tests that the same array is passed to.
Can someone please explain why the pop method fails ?
Loading more items...