intermediate 20 分钟 用 itertools 增强迭代器 用 itertools 的 unique / counts / chunk_by / sorted / join 等扩展标准迭代器。