Python - For each letter in a string

Description

For each letter in a string

Demo

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

Result

Related Example