Run
string1 = 'apple' result = [ch for ch in enumerate(string1)] print(result)
Output