课程
/后端开发
/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)
二
'life is short,you need {a}'
(a
)
法一
template = python = result = template.format(python) (result)
法二
template = result = template.format(=) (result)
举报
python3入门教程,让你快速入门并能编写简单的Python程序
体系课
1075
328
实战
99
265
4631
1 回答请使用两种format的方式打印字符串Life is short, you need Python
1 回答format的字符串模板
1 回答字符串format任务
1 回答3.5 python字符串任务
1 回答打印出相同的字符串,这提示是啥意思
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号