摘要: 一、字符串的一些应用: #strip name='*egon**' print(name.strip('*')) print(name.lstrip('*')) print(name.rstrip('*')) #startswith,endswith name='alex_SB' print(nam 阅读全文
posted @ 2017-10-25 22:05 大雄猫 阅读(200) 评论(0) 推荐(0) 编辑