首页 > 这里的引号如何理解?

这里的引号如何理解?

print """
There's something going on here.
with the three double-quotes.
We'll be able to type as much as we like.
Even 4 lines if we want, or 5, or 6.
"""

来一个最新版的文档链接: http://docs.python.org/3/tutorial/introduction.html#strings


这个我的理解有点想PHP的定界符的概念。


"""是一个多行文本字段串的标识符

【热门文章】
【热门文章】