Answers for "python loop through array of dictionaries"

-1

python loop through array of dictionaries

dataList = [{'a': 1}, {'b': 3}, {'c': 5}]
for index in range(len(dataList)):
    for key in dataList[index]:
        print(dataList[index][key])
Posted by: Guest on January-19-2021

Code answers related to "python loop through array of dictionaries"

Python Answers by Framework

Browse Popular Code Answers by Language