FDSL Group-A Assignment No:07

Write a python Program for magic square. A magic square is an n * n matrix of the
integers 1 to n2 such that the sum of each row, column, and diagonal is the same. The
figure given below is an example of magic square for case n=5. In this example, the
common sum is 65



Post a Comment

0 Comments