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