摘要: >>>a='SayHelloToYou' >>>a.split('o') ['SayHell', 'T', 'Y', 'u'] str.split(’ ‘)按照括号内容分割字符串 str.lower() 小写 str.upper() 大写 str.swapcase() 大小写变换 >>>a='Say 阅读全文
posted @ 2017-10-24 20:42 未闻花开 阅读(198) 评论(0) 推荐(0) 编辑