擅长:python、mysql、java
<p>第一个<code>print</code>应该是</p>
<pre><code>print a.format(**data)
</code></pre>
<p>另外,如果你正在寻找一些捷径,你可以写一个像,没有大的区别。</p>
<pre><code>def trans(year, month, location):
return dict(year=year, month=month, location=location)
</code></pre>