(self, other)
| 257 | return Vec2D(self[0]*other, self[1]*other) |
| 258 | return NotImplemented |
| 259 | def __sub__(self, other): |
| 260 | return Vec2D(self[0]-other[0], self[1]-other[1]) |
| 261 | def __neg__(self): |
| 262 | return Vec2D(-self[0], -self[1]) |
| 263 | def __abs__(self): |