复制代码def __len__(self): return len(self.seq) # Iterable -> Sequence -> MutableSequence (Abstract Method)