会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Wonz
最怕一生碌碌无为,还说平凡难能可贵。 Enjoy coding. Enjoy life.
博客园
首页
新随笔
联系
订阅
管理
2020年12月15日
Python format 用法详解
摘要: 一、填充字符串 1. 位置 print("hello {0}, this is {1}.".format("world", "python")) # 根据位置下标进行填充 print("hello {}, this is {}.".format("world", "python")) # 根据顺序自
阅读全文
posted @ 2020-12-15 19:49 Wonz
阅读(4181)
评论(0)
推荐(0)
公告