New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How do you change a string from “xyz” to “x,y,z”?
Is there anyway to do this, and if so, could you tell me what it is?
1 Answer
+ 5
s = ",".join(list("xyz"))
Is there anyway to do this, and if so, could you tell me what it is?