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.
oh, right... I didn't read the next parts... x)
But that means that first line of the description should be changed too. It's somewhat misleading.
I think that test should be added.
But some of the tests are done with matrix = [[1,2,3], [4,5,6]] so we cannot suppose that our input is mandatorily a square matrix !
Because if it was the case, then testing len(matrix) != len(matrix[0]) won't be necessary.
out of requirements ;)
Hello,
I think it doesn't work just testing the first element of the matrix. For example, your function will return something if your input is [[1,2,3], [4,5], [6, 7, 8]] whereas this is not a matrix.