假设将单词保存在变量word中,使用一个字典类型counts={},统计单词出现的次数可采用以下代码: 选项: A:counts[word]=counts.get(word,1)+1 B: counts[word]=1 C: counts[word]=counts.get(word,0)+1 D: counts[word]=counts[word]+1 使用 可采用 次数 发布时间:2024-05-20 16:12:21