摘要: -------------------------------center------------------ 让内容居中,两边用*填充 temp="erdongchen" ret=temp.center(20,"*") print(ret) --------------------------------capitalize-------------- 字符串的首写字母变为大写 temp="... 阅读全文
posted @ 2017-10-17 14:36 傻逼学python 阅读(1089) 评论(0) 推荐(0) 编辑