我的代码是
index = 0 for key in dataList[index]: print(dataList[index][key])
似乎可以正常工作打印index = 0的字典键的值.
但是对于我的生活,我无法弄清楚如何将这个for循环放在for循环中,循环遍历未知数量的字典 dataList
dataList
python dictionary for-loop list python-3.5
dictionary ×1
for-loop ×1
list ×1
python ×1
python-3.5 ×1