2. 创建一个字典。
3. 使用列表的`append`方法将字典添加到列表中。
下面是一个具体的例子:
```python
创建一个空列表
info = []
创建一个字典
student = {"Chinese": 99, "Math": 129, "English": 145}
使用list.append()方法将字典添加到列表中
info.append(student)
输出列表内容
print(info)
执行上述代码后,`info`列表将包含一个字典元素,即`student`字典。