當然可以了,可以把dict作為list的壹個元素
示例代碼如下:
l=[d?for?i?in?range(3)]
print?l
>>>
[{'a': 1, 'c': 3, 'b': 2}, {'a': 1, 'c': 3, 'b': 2}, {'a': 1, 'c': 3, 'b': 2}]