這個求解。。
print r'"to be,or not to be":that is the question.Whether it\'s nobler in the mind to suffer.'?
兩句話,但是不把它吧、分行,那怎么寫才能讓后面的it's以及后面正常顯示。
因為他顯示的是"to be,or not to be":that is the question.Whether it\'s nobler in the mind to suffer.
怎么才能在最后顯示出來的時候沒有那個\啊。。
2014-12-21
最外層有三引號也行。
2014-12-21
去掉前面的r,有這個r,反斜杠就會被當做普通字符了。