def fun():
print((‘{0} Here is a really long ‘
‘sentence with {1}’).format(3, 5))
就像在C语言中一样,在编译时会连接相邻的字符串文字。http:
//docs.python.org/reference/lexical_analysis.html#string-literal-
concatenation是一个开始获取更多信息的好地方。

def fun():
print((‘{0} Here is a really long ‘
‘sentence with {1}’).format(3, 5))
就像在C语言中一样,在编译时会连接相邻的字符串文字。http:
//docs.python.org/reference/lexical_analysis.html#string-literal-
concatenation是一个开始获取更多信息的好地方。