Question: in python (10 Points) Write a function called puzzleCheck that is passed a square 2D array of integers called numArray and returns a Boolean. The

in python in python (10 Points) Write a function called puzzleCheck that is passed

(10 Points) Write a function called puzzleCheck that is passed a square 2D array of integers called numArray and returns a Boolean. The function will sum up each row in the array. If the sum of each of the rows is the same, the function returns True, otherwise the function returns False. The array will be square - the number of columns equals the number of rows. In the example below the sum of each of the 4 rows is 17 so the function would return True. If the sum of any row was different than the others, the function would return False. Please make the function works for square arrays of any size (assume the number of rows and columns is greater than 0). If you don't know how to make the size general, write your program to work on the array size shown below. 1-2-5-8 6-2-2-7 2-5-8-2 8-7-2-0 row 0 sum = 17 row 1 sum = 17 row 2 sum = 17 row 3 sum = 17

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!