如何在Python中定义多行字符串 [英] How can I define multiline string in Python

查看:267
本文介绍了如何在Python中定义多行字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何定义多行字符串Python并在屏幕上打印?在此先感谢您的帮助!



我尝试过:



如何定义多行字符串Python并在屏幕上打印?在此先感谢您的帮助!

解决方案

您可以从阅读文档开始:3。 Python的非正式简介 - Python 3.7.3文档 [ ^ ]。

How can I define multiline string Python and print to the screen? Thanks in advance for your help!

What I have tried:

How can I define multiline string Python and print to the screen? Thanks in advance for your help!

解决方案

You could start by reading the documentation: 3. An Informal Introduction to Python — Python 3.7.3 documentation[^].


这篇关于如何在Python中定义多行字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆