DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
loop through list of dictionaries python
dataList = [{'a': 1}, {'b': 3}, {'c': 5}] for dic in dataList: for key in dic: print(dic[key])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#loop
#list
#dictionaries
#python
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit