Normally operator overloading using def __sub__(self, other): works but in this case, I get this error message:
bad operand type for unary -: 'Vector'
What can I do about this?
Normally operator overloading using def __sub__(self, other): works but in this case, I get this error message:
bad operand type for unary -: 'Vector'
What can I do about this?