iterate string step python code example Example: python iterate over string word = "test" for letter in word: print(letter)