Strings In Depth10 / 19
Up next

split and join

csv = "a,b,c"
parts = csv.split(",")
print(parts)
# join is called on the separator
print("-".join(parts))
What you're solving

text to list and back