print(''''\"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.'''')就不行呢
為什么要把轉義的字符刪除掉呢?
為什么print(''''\"To be, or not to be\": that is the question.\nWhether it\'s nobler in the mind to suffer.'''')就不行呢
2018-08-03
舉報
2018-08-07
這個是讓你改寫,題目中給的就是一串編碼,不是讓你打出來這句話,換一種形式表達
2018-08-06
這道題意思是如果一個句子存在很多轉義字符,在每個前面加\太麻煩,想讓你用r輸出:“To be...”:
Whether...,句子
2018-08-03
避免引起歧義,就是在符號前加斜杠
2018-08-03
簡單來說就是'''可以把這些特殊字符轉義。所以你可以按照正常方式來寫。