fromkeys()方法语法: dict.fromkeys(seq[, value])
>>> dict1.fromkeys((1,2,3),("one","two","three"))
{1: ('one', 'two', 'three'), 2: ('one', 'two', 'three'), 3: ('one', 'two', 'three')}
dict1 = dict1.fromkeys(range(32),"攒")
>>> dict1
{0: '攒', 1: '攒', 2: '攒', 3: '攒', 4: '攒', 5: '攒', 6: '攒', 7: '攒', 8: '攒', 9: '攒', 10: '攒', 11: '攒', 12: '攒', 13: '攒', 14: '攒', 15: '攒', 16: '攒', 17: '攒', 18: '攒', 19: '攒', 20: '攒', 21: '攒', 22: '攒', 23: '攒', 24: '攒', 25: '攒', 26: '攒', 27: '攒', 28: '攒', 29: '攒', 30: '攒', 31: '攒'}
clear()
>>> a = {"小甲鱼"}
>>> b = a
>>> a = {}
>>> b
{'小甲鱼'}
>>> a.clear()
>>> a
{}