python的字符串内建函数7
1、string.isupper():如果字符串中区分大小写的字符都是大写,则返回True。


2、string.isupper():如果字符串中区分大小写的字符不都是大写,则返回False。


3、string.join(seq):以字符串作为分隔符,将序列中所有字符串元素合并为一个新的字符串。


4、string.ljust(width):返回一个原字符串左对齐,并使用空格填充至规定长度的新字符串。


阅读量:65
阅读量:103
阅读量:83
阅读量:70
阅读量:196