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

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

為什么沒有換行?

>>> print(r'''"To be,or not to be":that is the question.Whether it's noblerin the mind to suffer.''')
"To be,or not to be":that is the question.Whether it's noblerin the mind to suffer.
>>> print('\"To be, or not to be\": that is the question.\nWhether 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.
>>>

正在回答

3 回答

r'''"To?be?,?or?not?to?be";?that?is?the?question.
Whether?it's?nobler?in?the?mind?to?suffer.'''
0 回復 有任何疑惑可以回復我~

這是多行,講義里面有

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

print r'''"To be,or not to be":that is the question.

Whether it's noblerin the mind to suffer.'''

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

python入門中 提問者

什么意思
2019-06-23 回復 有任何疑惑可以回復我~

舉報

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

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

進入課程

為什么沒有換行?

我要回答 關注問題
微信客服

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

幫助反饋 APP下載

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

公眾號

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