摘要: int str boolstr:s1 = '开课123abc'索引s1 [0]s2 [1]s3 [2]s4 [-1]s5 [:3]s6 [:5:2]s7 [-1:-4:1]upper lowerstartswith endswithsplit 分割 默认按照空格分割可以指定分隔符strip: 默认去 阅读全文
posted @ 2022-08-20 08:48 safetly 阅读(32) 评论(0) 推荐(0)