学习笔记 第八课题 找文档相似的部分 结果 核心代码: def substrings(a, b, n): """Return substrings of length n in both a and b""" common_list = [] for i in range(len(a)): if