使用字典统计字符串中每个字符出现的次数,横线上应该填写的代码是( )
dic = {} for c in 'an apple a day keeps the doctor away': dic[c] = __________ print(dic)
dic[c]+1
dic.get(c)+1
dic.get(c,1)
dic.get(c,0)+1