我知道raw字符串的功能是自動轉義,不需要使用\。可是這個語句:print r'''"To be, or not to be": that is the question.Whether it's nobler in the mind to suffer.'''和去掉r之后的print '''"To be, or not to be": that is the question.Whether it's nobler in the mind to suffer.'''結果是一樣的,那么①r'''...'''和'''...'''的區別是什么?②感覺'''...'''自帶自動轉義功能,那么r'''...'''還有什么意義?
添加回答
舉報
0/150
提交
取消