Question: code in python. The input contains the size (dimension) s of a square matrix of integers, each of the next s lines contains one row

 code in python. The input contains the size (dimension) s of

code in python.

The input contains the size (dimension) s of a square matrix of integers, each of the next s lines contains one row of the matrix. The items on a line are separated by single spaces. Shrink the size of the matrix by 2 : Remove the first and the next row of the matrix and the first and the last column of the matrix. print the resulting matrix in the same format as in the input. Example: Input 5 6 111111 123231 133321 123231 132321 111111 output 2323 3232 2323

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!