a=[1,2,3,{4:'a'},5,{'b':6},7]
for x in a:
if isinstance(x,dict):
for k,v in x.items():
print v
>>> a = [1, {2: 3}]>>> d = a[1]>>> d{2: 3}>>>d[2]3