在3.6.5上輸入的問題
print(r'''"to be,or not to be":that is the question.whether it/'s nobler in the mind to suffer.''') ? 用python3.6.5為什么輸出的是 ? "to be,or not to be":that is the question.whether 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.''') ? 用python3.6.5為什么輸出的是 ? "to be,or not to be":that is the question.whether it/'s nobler in the mind to suffer. ? 沒有換行,這樣輸出結果還是一行
2018-05-05
舉報
2018-06-27
r 就是你輸入的是什么,輸出的就是什么,要想換行,直接敲打enter建即可
2018-05-10
/要加轉義符的
2018-05-05
需要添加\,不知道對不對,本章學的就是轉義字符啊。
2018-05-05
字符串里還需要加入轉義字符才能顯示換行的