Question: In python This function get_col takes a 9x9 grid. Dont make any assumptions about what sort of data it contains, but you can assume that

In python

This function get_col takes a 9x9 grid. Dont make any assumptions about what sort of data it contains, but you can assume that its arranged in the array of columns format. The x parameter is the column number; it will be in the range 0 through 8 (inclusive). Return all of the values in that column. Note that I dont care what order you return them, since I will be sorting your return values before I check them

This function get_row is just like get_col(), except that this returns all of the values in a row.

This function is just like get col(), except that it returns the 9 values inside one of the squares of the grid. Remember, (0, 0) is the upper-left square, and (2, 0) is the upper-right.

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!