摘要: # 含多空格字符串的分割 hello = "hello python hello"print(a.split(" ")) # ['hello', 'python', '', 'hello'] print(hello.split()) # ['hello', 'python', 'hello']pri 阅读全文
posted @ 2018-08-25 23:55 与二月 阅读(295) 评论(0) 推荐(0) 编辑