(self, other)
| 261 | return Vec2D(self[0]*other, self[1]*other) |
| 262 | return NotImplemented |
| 263 | def __sub__(self, other): |
| 264 | return Vec2D(self[0]-other[0], self[1]-other[1]) |
| 265 | def __neg__(self): |
| 266 | return Vec2D(-self[0], -self[1]) |
| 267 | def __abs__(self): |