subject
Computers and Technology, 16.08.2021 23:50 bigb290

The Magic Square is a grid with 3 rows and 3 columns with the following properties: The grid contains every number from 1 to 9. The sum of each row, each column, and each diagonal all add up to the same number. This is an example of a Magic Square: 4 9 2 You can simulate a 3x3 grid using a two-dimensional list. For example, the list corresponding to the grid above would be: 4, 9, 2, 3, 5, 7, 8, 1, 6 Write a function that accepts a two-dimensional list as an argument and returns whether the list represents a Magic Square (either True or False). Create a program that tests the function on the following two-dimensional lists and prints out the results each on a separate line:[[4, 9, 2], [3, 5, 7], [8, 1, 6]] [[2, 7, 6], [9, 5, 1], [4, 3, 8]] [[1, 2, 3], [4, 5, 6], [7, 8, 9]] [[4, 9, 2], [3, 5, 5], [8, 1, 6]]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
You know the right answer?
The Magic Square is a grid with 3 rows and 3 columns with the following properties: The grid contain...
Questions
question
Mathematics, 10.01.2021 22:10
question
Social Studies, 10.01.2021 22:20
question
Mathematics, 10.01.2021 22:20
question
Social Studies, 10.01.2021 22:20
Questions on the website: 13722361