摘要: # # 基于可迭代对象&生成器 实现:自定义输出被2整除的数 # # class Xrange(object): # def __init__(self, max_num): # self.max_num = max_num # # def __iter__(self): # counter = 0 阅读全文
posted @ 2021-08-14 14:54 wq512 阅读(129) 评论(0) 推荐(0)