For each letter in a string
X = 'test' for item in X: print(item, end=' ') # Use simple iteration if you can