According to this documentation python has an operator @
that represents matmul
to multiply matrices. I have used this operator with numpy, however, I think that Python should not be module-specific so there must be some way to make this work without numpy. I tried defining two 2D python lists
b = [list(range(10))]*3
a = [list(range(3))]*10
however when I tried doing a@b
I got TypeError: unsupported operand type(s) for @: 'list' and 'list'
. How do I use the @
operator without Numpy?