python3 how to iterate over characters in a string code example
Example 1: python iterate over string
word = "test"
for letter in word:
print(letter)
Example 2: iterate through characters in a string python
for c in "string":
#do something with c