为什么(4,5)在前面啊
dicts = {} dicts[(1, 2)] = ({3, (4, 5)}) print(dicts)
Python3中,对字典中添加键/值,题目中的字典键为 (1,2),对应的值为 ({3, (4, 5)})
应该是考虑了字典是以键值对的方式存储的