Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "hello, my name is Peter, I am 26 years old" x = txt.split(", ") print(x)
['hello', 'my name is Peter', 'I am 26 years old']