亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

r'''...'''頭尾的三個單引號可換成雙引號嗎?

正在回答

4 回答

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.

0 回復 有任何疑惑可以回復我~
#1

洗車里的路飛

不把它分行。。請問怎么做。
2014-12-21 回復 有任何疑惑可以回復我~

必然可以呀

546615660001db7205000213.jpg

0 回復 有任何疑惑可以回復我~

哦,我敲錯了,實際可以

0 回復 有任何疑惑可以回復我~

不可以,實際應用會出現警告:

print r""""To be, or not to be": that is the question.
Whether it's nobler in the mind to suffer."""
"To be, or not to be": that is the question.
Whether it's nobler in the mind to suffer.


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
初識Python
  • 參與學習       758397    人
  • 解答問題       8967    個

學python入門視頻教程,讓你快速入門并能編寫簡單的Python程序

進入課程
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號