how to concatenate list of characters to string in python code example
Example 1: how to print a char of element in list in pyhton
#declaring list
myList=[12,'Hello','World!']
#for strings
print(myList[1][2]) # output --> l
#for numbers
temp=str(myList[0])
print(temp[1]) # output --> 2
Example 2: how to join a list of characters in python
>>> a = ['a', 'b', 'c', 'd']
>>> ''.join(a)
'abcd'