matrix=[[11, 12, 5, 2],
[15, 6, 10, 9],
[13, 8, 16, 3],
[17, 1, 4, 0]]
dig=16
how to get diagonal of 16 from left to right & right to left in top to bottom:
11 6 16 0
9 16 1
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
matrix=[[11, 12, 5, 2],
[15, 6, 10, 9],
[13, 8, 16, 3],
[17, 1, 4, 0]]
dig=16
how to get diagonal of 16 from left to right & right to left in top to bottom:
11 6 16 0
9 16 1