array): linear array with equidistant positions. m,n = map (int,input (). This gives you a "sublist" of the original list described by [start:end:step], start is the first element, end is the last element to be used in the sublist. The np. Rotates the matrix by 90, 180 degrees as per requirement. At last, we will show both the images of rotation by angle.