👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

In Python, how to iterate over string?

In Python, the best way to iterate over characters of string is to use a for loop:

for ch in "My string to iterate":
	print (ch)

More