課程
/后端開(kāi)發(fā)
/Python
/Python3 入門(mén)教程(新版)
我怎么想了半天沒(méi)有編出來(lái)
2025-02-21
源自:Python3 入門(mén)教程(新版) 5-8
正在回答
template='Life is{a},you need'
a='short'
b='python'
result=template.format(a=a,b=b)
print(result)
舉報(bào)
python3入門(mén)教程,讓你快速入門(mén)并能編寫(xiě)簡(jiǎn)單的Python程序
2 回答format什么意思,怎么用
1 回答0-1000不包括1000啊,想半天多出來(lái)的1000在哪里出的問(wèn)題 - -
2 回答如果想用while x % 2 != 1 要怎么寫(xiě)?。?/p>
1 回答如果想要輸出所有元素的個(gè)數(shù)要怎么寫(xiě)呢?
3 回答怎么是按順序除出來(lái)的結(jié)果,怎么把成績(jī)加起來(lái)啊
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢(xún)優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2025-02-22
template='Life is{a},you need'
a='short'
b='python'
result=template.format(a=a,b=b)
print(result)