Loading...

摘要: ## 读取 ``` # 通过单字符串空格分隔 def count_words(filepath): with open(filepath, 'r') as file: string = file.read() string_list = string.split(" ") return len(st 阅读全文
posted @ 2023-08-24 14:49 高宏宇 阅读(13) 评论(0) 推荐(0) 编辑