here is my matrix setup:
for a in b: size_x = len(a) + 1 size_y = len(b) + 1 matrix = np.zeros ((size_x, size_y)) for x in range(size_x):