class V: def __init__(self, n): self.n = n. def __add__(self, other): return V(self.n + other.n). What is (V(2) + V(5)).n?
Log in to join the discussion.
Loading…