摘要: st = ' hello Kitty 'str = 'hello {name} {age}'#print(st.format(name='fadfa'))#常用的字符串方法print(st.count)print(st.count('l'))print(st.center(50,'#'))print 阅读全文
posted @ 2017-02-19 19:20 noube 阅读(170) 评论(0) 推荐(0) 编辑