摘要: import os#字符串test = 'alex'#capitalize() 首字母大写print(test.capitalize())#lower() 字母转换为小写test1 = 'Alex'print(test1.lower())#center() 返回一个长度为width,两边用fillc 阅读全文
posted @ 2020-01-30 20:43 琳淼 阅读(356) 评论(0) 推荐(0) 编辑