主页
Python
Python 字符串
demo_string_split
运行 ❯
×
更改方向
保存代码
更改主题
a = "Hello, World!" b = a.split(",") print(b)
['Hello', ' World!']