• Wrong row index in test for the "Count neighbours"

 

I would like to give some feedback about "count neighbours" task. I have got the error: "IndexError: tuple index out of range, count_neighbours, 12". For the test data:

сount_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)

But I can see wrong "row" value = "5". The 5x5 tuple has indexes from 0 to 4. Can You verify it, please?

From: http://www.checkio.org/mission/count-neighbours/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36