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