我要怎样才能拿到a的所有值呢?求解,困扰我半天了
# coding=UTF-8
import json
dict_s = {
"1": {"a": "one"}, "2": {"a": "two"}, "3": {"a": "three"}
}
for d in dict_s:
dic = d['a']
print(dic)
我要怎样才能拿到a的所有值呢?求解,困扰我半天了
# coding=UTF-8
import json
dict_s = {
"1": {"a": "one"}, "2": {"a": "two"}, "3": {"a": "three"}
}
for d in dict_s:
dic = d['a']
print(dic)