# What is wrong with this matrix multiplication in python

In the below code (Jupiter notebook), output is given wrong, how to correct the code? import numpy as np A = [1,22,231,1540] B = [[-1,1,0],[1,-1,1],[0,6,0],[0,6,0]] C = [[113401201],[10649],[1]] result = np.dot(np.dot(A, B),C) print(result) output [-1800609408] The actual answer is I want to find the error and correct it >Solution : You’re probably running this code… Read More What is wrong with this matrix multiplication in python