摘要: """字符串相关内建方法"""# a = ["qwe", "name", "sex", "sss"]# a = "helHos"# print(a.title())# print(a.capitalize()) #将字符串首字母大写# print(a.center(7, "w")) #以字符串居中的 阅读全文
posted @ 2017-10-21 21:19 有虫子啊 阅读(376) 评论(0) 推荐(0) 编辑