課程
/后端開發
/Python
/Python3 入門教程(新版)
mb=mbnr1=mbnr2=mbnr3=dy=mb.format(mbnr1+mbnr2+mbnr3) (dy)
大神些有辦法讓后面打出空格嗎
運行結果? life is short,youneedpython
2022-09-27
源自:Python3 入門教程(新版) 3-7
正在回答
template='{} {} {} ,{} {} {}'
resulr=template.format('Life','is','short','you','need','pyton')
print(resulr)
舉報
python3入門教程,讓你快速入門并能編寫簡單的Python程序
1 回答為啥運行出來a是個空集
1 回答為什么這么寫運行不出來
2 回答為什么運行不出來Hello World?
5 回答怎么會出現多余的逗號,也沒有空格
3 回答這樣為什么不可以
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2022-09-27
template='{} {} {} ,{} {} {}'
resulr=template.format('Life','is','short','you','need','pyton')
print(resulr)