how to loop through every character in a string python code example
Example 1: how to loop through string in python
for i in "Hello":
print(i)
Example 2: iterate through characters in a string python
for c in "string":
#do something with c