I have the following list:
sortedList = [['2', 'f'],['5', 'B'],['8', '6'],['32','@'],['43', 'G'],['76', '.'],['173', 'v'],['200', '.'],['265', 'y']]
I am attempting to create a 3x3 matrix from this list so that the output would be the following:
matrix = [['f','B','6'],['@','G','.'],['v','.','y']]
Essentially, I need to find a function that would take the last string of each list and put it into lists 3 strings in length.