主页
Python
Python String split() 方法
demo_ref_string_split
运行 ❯
×
更改方向
保存代码
更改主题
txt = "welcome to the jungle" x = txt.split() print(x)
['welcome', 'to', 'the', 'jungle']