課程
/后端開發(fā)
/Python
/Python3 入門教程(新版)
感覺這樣好
2021-02-28
源自:Python3 入門教程(新版) 3-7
正在回答
這樣不是更好【doge】
template='{}'
a='Life is short, you need Python'
result=template.format(a)
print(result)
舉報
python3入門教程,讓你快速入門并能編寫簡單的Python程序
2 回答好像我這樣也行
4 回答這樣寫不也行嘛,為啥非要多此一舉用個.format
1 回答為什么我這樣輸出的結(jié)果比正確結(jié)果多1000啊
3 回答參考答案不好啊,我感覺還是我這樣舒坦!
2 回答是這樣嗎
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2021-03-01
這樣不是更好【doge】
template='{}'
a='Life is short, you need Python'
result=template.format(a)
print(result)