python的字符串内建函数8

时间:2026-02-13 21:23:43

1、string.lower():将字符串中所有大写字符转换为小写。

python的字符串内建函数8

python的字符串内建函数8

2、string.lstrip():删除字符串左边的空格。

python的字符串内建函数8

python的字符串内建函数8

3、max(string):返回字符串中最大的字符。

python的字符串内建函数8

python的字符串内建函数8

4、min(string):返回字符串中最小的字符。

python的字符串内建函数8

python的字符串内建函数8

© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com