• Bug

I would like to give some feedback about a bug in test cases:

Fail: count_neighbours([[[1,0,1,0,1],[0,1,0,1,0],[1,0,1,0,1],[0,1,0,1,0],[1,0,1,0,1],[0,1,0,1,0]],5,4]) does not comply with the included test cases. Row and Col should be independent args and len(row) == 5 should be the same as len(matrix) == 6.

From: https://py.checkio.org/mission/count-neighbours/solve/


Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14