• + 0 comments
    a = [1, 2,3], [2, 3,4],[1,1,1]
    b = [4, 5,6], [7, 8,9],[4,5,7]
    res = 0 
    for i in range(3):
        for j in range(3):
                for k in range(3):
                        res += a[i][k]*b[k][j]           
                print(res)
                res = 0