妳可以另外建壹個列表
keys=[]
在構建字典的同時把鍵填到這個key中
dic[1234]="妳好"
keys.append(1234)
取字典的時候用keys裏的有順序的鍵
print(dic[keys[0]])
print(dic[keys[1]])