会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
silence.li
博客园
首页
新随笔
联系
订阅
管理
2014年3月18日
[python]字符串的ljust方法
摘要: ljust用法:string.ljust(number,'x')格式化输出字符串,按照number数量调整字符串的总长度,ljust是左对齐,‘x’是填充字符,默认是空格类似的还有rjust,center
阅读全文
posted @ 2014-03-18 11:11 silence.li
阅读(596)
评论(0)
推荐(0)
公告