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

How to iterate over string in Python?

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