摘要:
class Fib: '''迭代器例子''' def __init__(self, vmax): self.max = vmax def __iter__(self): self.a = 0 self.b = 1 return... 阅读全文
摘要:
import redef match_sxz(noun): return re.search('[sxz]$',noun)def apply_sxz(noun): return re.sub('$','es',noun)def match_h(noun): return re.se... 阅读全文