python 字符串格式化
摘要:
1,基本用法 1,正常拼串 s1 = '%s aaa %s'('alice','bob') 2.format 不带编号 s1 = '{} aaa {}' s1.format('hello','world') 带编号 s1 = '{1} aaaa {2} bbb {1}' s.format('hell 阅读全文
posted @ 2018-06-23 11:13 么么唧唧 阅读(163) 评论(0) 推荐(0) 编辑