会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
飘逸晴天
博客园
首页
新随笔
联系
管理
订阅
2016年12月23日
python基础4
摘要: 一.格式化字符串 Python的字符串格式化有两种方式: 百分号方式、format方式 1.百分号方式 %[(name)][flags][width].[precision]typecode (name) 可选,用于选择指定的key flags 可选,可供选择的值有: + 右对齐;正数前加正好,负数
阅读全文
posted @ 2016-12-23 23:32 飘逸晴天
阅读(112)
评论(0)
推荐(0)
编辑
公告