擅长:python、mysql、java
<pre><code>def fun():
print(('{0} Here is a really long '
'sentence with {1}').format(3, 5))
</code></pre>
<p>相邻的字符串文本在编译时连接在一起,就像在C中一样。<a href="http://docs.python.org/reference/lexical_analysis.html#string-literal-concatenation" rel="noreferrer">http://docs.python.org/reference/lexical_analysis.html#string-literal-concatenation</a>是获取更多信息的好地方。</p>