课程
/后端开发
/Python
/初识Python
Pythone软件上我写: s=('Python was started in 1989 by "Guido".\nPython is free and easy to learn.') print(s)为啥错了 应该怎么写
2019-09-07
源自:初识Python 3-5
正在回答
s=('Python was started in 1989 by "Guido".\nPython is free and easy to learn.') print(s)
print需要换行
s=('Python was started in 1989 by \"Guido\".\nPython is free and easy to learn.')
s=r'''Python was started in 1989 by "Guido".
Python is free and easy to learn.'''
print(s)
使用到多转义时用r 使用到多行时用'''..........'''
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序