0
Somebody tell me how to convert a list into string?
Lst=["Hello","Bro","Please","Help"] Into str like this "Hello,Bro, Please,Help"
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)
+ 2
Thanks bro