摘要:
class Fib: '''迭代器例子''' def __init__(self, vmax): self.max = vmax def __iter__(self): self.a = 0 self.b = 1 return... 阅读全文
posted @ 2015-03-17 12:52
rebxx
阅读(236)
评论(0)
推荐(0)
摘要:
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... 阅读全文
posted @ 2015-03-17 10:00
rebxx
阅读(278)
评论(0)
推荐(0)

浙公网安备 33010602011771号