这里的引号如何理解?

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.
"""
阅读 4.7k
3 个回答

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

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题