1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
svetoff [14.1K]
3 years ago
9

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 3 5 7 8 1 6 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]]
Computers and Technology
1 answer:
lara [203]3 years ago
6 0

Answer:

24

Explanation:

You might be interested in
What is shouting pertaining to the internet
Ludmilka [50]
Hi!

What is considered shouting on the internet is when WHEN YOU TYPE IN ALL CAPS LIKE THIS!!! Doing this seems to make the words appear louder and more prominent. You can also add more emphasis to ALL CAP words by adding ***ASTERISKS***.
8 0
3 years ago
The _______ provides access to the internet; may also be internal?
VikaD [51]
World Wide Web (WWW)? I honestly don't know.
8 0
3 years ago
Where do you find the instructions, learning objectives, evaluation and scoring for this aba assignment?.
sp2606 [1]

The instructions, learning objectives, evaluation and scoring for Aba assignment can be found on Preamble of the Applied Behavior Analysis (ABA) assignment.

<h3>What is ABA?</h3>

Applied Behavior Analysis refers to a therapy that is based on the science of learning and behavior.

Hence, the instructions, learning objectives, evaluation and scoring for Aba assignment can be found on Preamble of the Applied Behavior Analysis (ABA) assignment.

Read more about ABA

<em>brainly.com/question/11449763</em>

6 0
3 years ago
Write a function named average_value_in_file that accepts a file name as a parameter and reads that file, assumed to be full of
noname [10]

def average_value_in_file(filename):

   f = open(filename)

   total = 0

   count = 0

   for x in f.read().splitlines():

       total += int(x)

       count += 1

   return total/count

print(average_value_in_file("input.txt"))

I used an input file that looks like this:

1

1

1

1

6 0
3 years ago
Software ............. the hardware what to display on the user's screen​
likoan [24]
A monitor? This displays on the users screen but I’m not sure if that’s what your asking good luck on finding the right answer.
7 0
2 years ago
Other questions:
  • An effective team would never have​
    9·1 answer
  • William found out that someone used his report on American culture without his permission. What is William a victim of?
    13·2 answers
  • Que son los sistemas de control con retroalimentacion
    10·1 answer
  • Which step in the software development life cycle involves making improvements based on user feedback?
    15·1 answer
  • PLZ HELP I AM TIMED!!!!
    11·2 answers
  • What is the HTML tag used to define a block of content?<br> O <br> O class<br> O #id<br> O
    8·2 answers
  • What are five types of applications you can create in Visual Basic 2017?
    12·2 answers
  • Can someone reply me
    11·1 answer
  • In order for a computer to pass the ________, a human should have a conversation with it and not be able to tell if it was a mac
    11·1 answer
  • Information to develop a project network is collected from the.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!