摘要: python数据类型 字符串 字符串常用的方法: 1.字符串的切片操作: 1 test = "hello world" 2 v = test[0:2] 3 print(v) 2.字符串的split方法,切分字符串(默认按空格切分) name = 'root:x:0:0::/root:/bin/bas 阅读全文
posted @ 2020-04-17 19:26 cxxb 阅读(130) 评论(0) 推荐(0) 编辑