For strings, it is easy to iterate over each character : Member in « String « Python Tutorial






foo = 'abc'
for c in foo:
    print c
5.19.Member in
5.19.1.For strings, it is easy to iterate over each character