print(r'''\"To be, or not to be\": that is the question.\nWhether it\'s nobler in the mind to suffer.'''')
print(''''\"To be, or not to be\": that is the question.\nWhether it\'s nobler in the mind to suffer.''')
可能符号从左往右计量, 首''''从前面计量了三个是指令开始,多一个就'就当做是要输出的字符串;尾''''从前面计量了三个,按理来说已经是完整的指令了,最后尾巴多出来的'就不能识别了。(我也是才看了几节课,错了勿怪)