1#declaring list
2myList=[12,'Hello','World!']
3#for strings
4print(myList[1][2]) # output --> l
5#for numbers
6temp=str(myList[0])
7print(temp[1]) # output --> 2
1arrayOfCharacters = ["p", "y", "t", "h", "o", "n"]
2string = ''.join(arrayOfCharacters)
3#output: python