课程
/后端开发
/Python
/初识Python
print r'''''to be, or not to be'': that is the question.
whether it's nobler in the mind to suffer.'''
2019-06-20
源自:初识Python 3-6
正在回答
print r'''"to be, or not to be": that is the question.whether it's nobler in the mind to suffer.'''
这是在python2测试后的答案。可以清楚的看到" ''' "和 " " " 符号不一样。注意:这里的',"都是英文
HeroChan
我在python3 直接运用没有问题啊
r后面是3个单引号,然后tobe前面应该是1个双引号而不是2个单引号
print r'''"To be, or not to be": that is the question.
Whether it's nobler in the mind to suffer.'''
慕设计2718092
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序