(self, other)
| 158 | return Vec2D(self[0]*other, self[1]*other) |
| 159 | return NotImplemented |
| 160 | def __sub__(self, other): |
| 161 | return Vec2D(self[0]-other[0], self[1]-other[1]) |
| 162 | def __neg__(self): |
| 163 | return Vec2D(-self[0], -self[1]) |
| 164 | def __abs__(self): |