Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- [[1.0, 2.0], [5.0, 6.0], [9.0, 10.0]]
- File "C:/Users/simpl/PycharmProjects/csc340/mainPart.py", line 54, in <module>
- [[0, 0], [0, 0], [0, 0]]
- one.readFile()
- 0
- 1
- File "C:/Users/simpl/PycharmProjects/csc340/mainPart.py", line 38, in readFile
- testing = one.multiply(two)
- File "C:\Users\simpl\PycharmProjects\csc340\Matrix1.py", line 27, in multiply
- result[i][j] += self.data[i][k] * other.data[k][j]
- IndexError: list index out of range
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement