14、设将单词保存在变量wond中,使用一个字典类型countis ={}统计单词出现的次数, 可采用以下代码

A.counts[ word] = count[word] + | B.counts[ word] = 1 C.counts[ word] = count.get(word,0) + 1 D.counts[ word」= count.get(word,1) + 1

时间:2024-04-29 13:53:38

相似题目