New course! Every coder should learn Generative AI!
Try a free lesson0
How to change a list in a string?
4 Answers
+ 3
you can use join()
example if you have a list like:
lst = ["hello", "world"]
str = " ".join(lst)
print(str)
+ 2
Thank you
+ 1
did you mean convert a list into a string?
+ 1
Yes