比如我想输出结果是 '"To be, or not to be": that is the question.Whether it's nobler in the mind to suffer.'
#!/usr/bin/python3
print('\"To be, or not to be\": that is the question.\nWhether 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''')
不知道你是怎么输入的,可以参考我的代码