how to get char and index of a string in python loop code example Example: how to loop through string in python for i in "Hello": print(i)