Day08_字符串类型

1.字符串优先掌握:

 2.字符串_切片顾头不顾尾+步长:

 3.反向切片:

 4.长度、成员运算符、strip用法:

 5.切分、循环:

 6.strip、lstrip、rstrip用法:

 7.lower、upper用法:

 8.startswith、endswith:

 9.split、rsplit用法:

 10.join用法:

 11.replace替换字符串用法:

 12.isdigit判断字符串是否纯数字组成:

 13.find和index用法:

 14.center,ljust,rjust,zfill用法:

 15.expandtabs用法指定空格数:

 16.captalize,swapcase,title用法:

 17.is系列内置用法:

 

 

posted on 2023-07-25 21:29  与太阳肩并肩  阅读(3)  评论(0编辑  收藏  举报

导航