摘要: 查找文本文件中重复的汉字,找到在所在行号 文本文件格式 大 小 多 少 前 后 左 …… text.py import os import re list = [] same=0 total=0 index = [] with open("1.txt", "r", encoding="utf-8") 阅读全文
posted @ 2024-06-13 19:34 嗨学编程 阅读(11) 评论(0) 推荐(0) 编辑