TypeError: 'int' object is not subscriptable (python) - Stack ...
stackoverflow.com › questions › 30325013Trying to call it on two random matrices like so: m = [3, 4, 2] n = [ [13, 9, 7, 15], [8, 7, 4, 6], [6, 4, 0, 3]] r = matrixMult (m, n) This results in the TypeError: 'int' object is not subscriptable message. I added a print (type ()) for both the matrices declared above and they are of class 'list'. Did the same for the classes used in the ...