摘要: hashMap = collections.defaultdict(int) for i in range(5): hashMap[i] += 1 from collections import Counter hashmap = Counter() 当获得hashmap中的值的时候,只能用hash 阅读全文
posted @ 2021-09-20 22:48 little_power 阅读(299) 评论(0) 推荐(0)