I wrote a class to represent vectors in Python (as an exercise) and I\'m having problems with extending the built-in operators.
I defined a __mul__ meth
__mul__
I believe you are looking for __rmul__