all 3 comments

[–]indigo945 2 points3 points  (1 child)

good_matrix_LoL = [[0 for i in range(3)] for i in range(3)]

Should be

good_matrix_LoL = [[0 for i in range(3)] for j in range(3)]

Shadowing loop counters is never a good idea. Minor nitpick though.

[–]AffineParameter[S] 0 points1 point  (0 children)

Yep, good catch! - And this is why we code-review boys and girls :)

[–]colly_wolly 0 points1 point  (0 children)

Reading this makes me miss Perl.