def tosliceMatrix(testList):
slicedMatrix = []
for i in range(9):
temp = []
for j in range(3):
temp.append(testList[i][3*j:(j+1)*3])
slicedMatrix.append(temp)
return slicedMatrix
Created
November 28, 2020 05:07
-
-
Save akirap3/700c25e8bea4a8e39c92d4db50ffb980 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment