python how to get each character from string code example Example: how to loop through string in python for i in "Hello": print(i)