d = {"a":1,"b":2,"c":3,"d":4}
k = d.keys()[0]
print k, d[k]
读取第一个dict
猜你喜欢
转载自blog.csdn.net/qq_30468133/article/details/84847820
今日推荐
周排行