不是说r形式里不能表示包含单引号和双引号的字符串吗?
print r'''"To be, or not to be": that is the question.
Whether it's nobler in the mind to suffer.'''
#这条语句是正确的,但是包含了单引号和双引号
print r'''"To be, or not to be": that is the question.
Whether it's nobler in the mind to suffer.'''
#这条语句是正确的,但是包含了单引号和双引号
2019-04-10
举报