1. The Lo Shu Magic Square is a grid with three rows and three columns that has the following properties: • The grid con
Posted: Mon Jun 06, 2022 11:29 am
1. The Lo Shu Magic Square is a grid with three rows and three columns that has the following properties: • The grid contains the numbers 1 through 9 exactly. • The sum of each row, each column, and each diagonal all add up to the same number. Write a function that takes a two-dimensional 3 x 3 array as a magic square. Your function should display "True" if the square is a Lo Shu Magic square otherwise "False".