标签: python python-3.x string split
我想每两个字分割一个字符串。 例如,如果my_str = "Hello to every one out there",我希望结果为列表:["Hello to", "every one", "out there"]
my_str = "Hello to every one out there"
["Hello to", "every one", "out there"]
谢谢大家!