課程
/后端開發
/Python
/Python3 入門教程(新版)
Life is short, you need Python
2022-11-17
源自:Python3 入門教程(新版) 3-7
正在回答
一 template?=?'Life?is?short,you?need?{}' python?=?'Python' result?=?template.format(python) print(result) 二 template?=?'life?is?short,you?need?{a}' result?=?template.format(a='Python') print(result)
法一
template?=?python?=?result?=?template.format(python) (result)
法二
template?=?result?=?template.format(=) (result)
舉報
python3入門教程,讓你快速入門并能編寫簡單的Python程序
1 回答請使用兩種format的方式打印字符串Life is short, you need Python
1 回答字符串format任務
1 回答format的字符串模板
1 回答3.5 python字符串任務
1 回答打印出相同的字符串,這提示是啥意思
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2022-11-18
2022-11-18
法一
法二