It contains an R*C matrix with unique digits. I have to print the submatrix having minimum and maximum integer This is my code: I need a solution without a NumPy array. I found the max and min values and also their index. After that, I don’t know what to do. Answer You can iterate over matrix again and get only