会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
黄小墨
博客园
首页
新随笔
联系
订阅
管理
2016年1月31日
python(2)-字符串(2)
摘要: 字符串格式化: 前面说过一种字符串格式化方法,来复习一下: >>> print('His name is %s', 'jeff') His name is %s jeff 其实格式化方法不止一种: >>> print('{0} , {1}'.format('alex','33')) alex , 3
阅读全文
posted @ 2016-01-31 00:09 黄小墨
阅读(456)
评论(0)
推荐(0)
编辑
公告