Python源码中三引号作用是什么,python源码引号作用,print """The


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的定界符的概念。

编橙之家文章,

评论关闭