摘要: class List: def __init__(self,x): self.seq=list(x) def append(self,value): if not isinstance(value,str): raise TypeError('must be str') self.seq.appen 阅读全文
posted @ 2017-04-28 21:54 golangav 阅读(355) 评论(0) 推荐(0) 编辑