为了账号安全,请及时绑定邮箱和手机立即绑定

这有什么问题吗?

s = 'Python was started in 1989 by "Guido". \n Python is free and easy to learn.'
print s

正在回答

4 回答

s = 'Python was started in 1989 by "Guido". Python is free and easy to learn.'
print s

#  \n去掉

0 回复 有任何疑惑可以回复我~

s = 'python was started in 1989 by "guido".python is free and easy to learn.'

print s


1 回复 有任何疑惑可以回复我~

s = r'''Python was started in 1989 by "Guido".

Python is free and easy to learn.'''

0 回复 有任何疑惑可以回复我~

s = 'Python was started in 1989 by \"Guido\". \n Python is free and easy to learn.'
print s

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
初识Python
  • 参与学习       758620    人
  • 解答问题       8667    个

学python入门视频教程,让你快速入门并能编写简单的Python程序

进入课程

这有什么问题吗?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信