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

大学网课 已帮助 人

设将单词保存在变量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

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

热搜:字符串常量是保存在内存中的哪个存储区中的