← 返回列表

Python3 字符串String Split 方法

Python3 字符串String Split 方法 #!/usr/bin/python3 str = "this is string example....wow!!!" print (str.split( )) print (str.split('i',1)) print (str.split('w'))

Python3 字符串String Split 方法

#!/usr/bin/python3

str = "this is string example....wow!!!"
print (str.split( ))
print (str.split('i',1))
print (str.split('w'))

打开资源 ↗

交流与评论