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

print r'''"To be, or not to be ": that is the question. whether it's noblr in the mind to suffer.''' 我这样写有错误吗?为什么总是不对,求教

print r'''"To be, or not to be ": that is the question. whether it's noblr in the mind to suffer.''' 我这样写有错误吗?为什么总是不对,求教

正在回答

3 回答

r'''print r'''"to be, or not to be": that is the question.

whether it's nobler in the mind to suffer.''''''

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

慕粉1700154579 提问者

我初学,能再解释一下吗?谢谢
2017-03-12 回复 有任何疑惑可以回复我~
#2

锅小

回复 慕粉1700154579 r''' 要转义的内容 ''' 在这里就是print r'''"to be, or not to be": that is the question. whether it's nobler in the mind to suffer.'''
2017-03-12 回复 有任何疑惑可以回复我~

准备开始敲“whether”代码时得换行

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

print r'''"To be, or not to be ": that is the question. whether it's noblr in the mind to suffer.'''

可以运行


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

举报

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

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

进入课程

print r'''"To be, or not to be ": that is the question. whether it's noblr in the mind to suffer.''' 我这样写有错误吗?为什么总是不对,求教

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号