Light Mode
Dark Mode
How come that the fifth test is ...

How come that the fifth test is False when the diagonal with start in first column second row [2,6,2,2,6,2] contains four "2"?

assert checkio([
    [1,  1, 1,  6, 1, 1, 1],
    [2,  5, 4,  2, 2, 7, 2],
    [2,  6, 1,  2, 6, 4, 3],
    [3,  2, 2,  1, 0, 2, 4],
    [7,  9, 6,  2, 5, 7, 5],
    [7,  3, 10, 5, 6, 2, 5],
    [7,  3, 10, 5, 6, 2, 5]
]) == False, "Fifth"
Created: Nov. 19, 2012, 10:22 a.m.
Updated: Sept. 30, 2013, 1:46 p.m.
0
9
User avatar
zleepy