0

Somebody tell me how to convert a list into string?

Lst=["Hello","Bro","Please","Help"] Into str like this "Hello,Bro, Please,Help"

18th Mar 2023, 3:03 PM
Vaibhav Pandey
2 Answers
+ 8
Hi Vaibhav Pandey ! You can try to use join: my_list = ['Hello', 'big', 'world'] my_str = ' '.join(my_list) print(my_str)
18th Mar 2023, 3:10 PM
Per Bratthammar
Per Bratthammar - avatar
+ 2
Thanks bro
18th Mar 2023, 3:13 PM
Vaibhav Pandey