Run
def getCharList(str): return [char for char in str] str = 'pythonexamples' print(getCharList(str))
Output