擅长:python、mysql、java
<pre><code>In [16]: d
Out[16]: {'a': 'A', 'b': 'B', 'c': 'C'}
In [17]: lis = []
In [18]: lis
Out[18]: []
In [19]: for key in d:
...: dd ={}
...: dd["word"] = key
...: dd["transcrition"] = d[key]
...: lis.append(dd)
...:
In [20]: lis
Out[20]:
[{'transcrition': 'A', 'word': 'a'},
{'transcrition': 'C', 'word': 'c'},
{'transcrition': 'B', 'word': 'b'}]
</code></pre>