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