列表与字典 键不在字典 contour = counters.get(key,0); 键不在字典,返回默认0. names = votes.setdefault(key,[]);键不在字典,关联插入默认值后,返回默认[].