i am pretty new to python coming from Java, C, and Haskell environment, i was wondering if there exist something similar to the following but with strings and not numbers, so i have:
for i in range(5,11)
print "Index : %d" %i
and the result will be: 5, 6, 7, 8, 9, 10 (each in a new line of course). So, i want to have the same for strings, like:
for c in range("a","e")
print "Alphabet : %s" %c
I am just curious and I have tried many things with both strings and chars but i could not obtain the result I want. Thanks in advance.