0

How to change a list in a string?

24th Sep 2020, 9:12 PM
Archit Chanana
Archit Chanana - avatar
4 Respuestas
+ 3
you can use join() example if you have a list like: lst = ["hello", "world"] str = " ".join(lst) print(str)
24th Sep 2020, 9:55 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 2
Thank you
24th Sep 2020, 9:55 PM
Archit Chanana
Archit Chanana - avatar
+ 1
did you mean convert a list into a string?
24th Sep 2020, 9:42 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Yes
24th Sep 2020, 9:51 PM
Archit Chanana
Archit Chanana - avatar