What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-07 05:49:07
how to split string with comma in python
# We can use the split() function and put a "," in the parameter # It'll return a list with the string split up by commas. txt = "hello, my name is Peter, I am 26 years old" x = txt.split(",") print(x) # You can also do th... Add solution -
Python 2021-09-05 23:14:03
split a string by comma python
# We can use the split() function and put a "," in the parameter # It'll return a list with the string split up by commas. txt = "hello, my name is Peter, I am 26 years old" x = txt.split(",") print(x) # You can also do th... Add solution
Best helpers
Erica Price
+5
Scoiattolo
+5
Vigrond
+5
Muazam
+5
Emmet
+5
A G Davey
+5
Arad
+5
Meital Regev
+5
Entrepreneur
+5
Majte
+5
JoshuaFicy
+5