【发布时间】:2012-02-04 22:26:41
【问题描述】:
我正在尝试重新排序 python 字典中特定键的值。
例如,如果我有字典 {'a':"hello","hey","hi"}
当我打印“a”的值时,如何更改“hello”、“hey”或“hi”的顺序?
【问题讨论】:
标签: dictionary set python-2.7
我正在尝试重新排序 python 字典中特定键的值。
例如,如果我有字典 {'a':"hello","hey","hi"}
当我打印“a”的值时,如何更改“hello”、“hey”或“hi”的顺序?
【问题讨论】:
标签: dictionary set python-2.7
【讨论】: