摘要: names = "my \tname is {name} ,my year is {year}"print(names.count("a"))#查看又多少个“a”print(names.capitalize())#第一个字母大写print(names.center(50,"#"))#names 居中 阅读全文
posted @ 2017-09-10 23:54 蜗牛·哥 阅读(297) 评论(0) 推荐(0) 编辑