摘要: 字符串: str.lower():将str中的大写字母转小写字母 str.upper():将str中的小写字母转成大写字母 str.swapcase():将str中的大小写互换 str.capitalize():只保留str中首字母大写 (整个字符串整体)如‘helLO,WorLD’ >‘Hello 阅读全文
posted @ 2017-04-02 11:40 CtrlKismet 阅读(121) 评论(0) 推荐(0) 编辑