I am working on a python program in which i have to concatenate the characters in the list to make a string like ['h' 'e' 'l' 'l' 'o'] should be hello. I am using for
loop to do this. I am searching for a built-in method that do this work. I searched but i didn't find any method.
My code is:
list=['h','e','l','l','o']
s=""
for i in list:
s+=i
print(s)