摘要: def triangles(): prev_line = [1] while True: yield prev_line result = [1] if len(prev_line) == 1: result.append(1) if len(prev_line) > 1: for i in ran 阅读全文
posted @ 2018-05-16 14:50 Benguoby2 阅读(80) 评论(0) 推荐(0) 编辑