I am new to python.
See this below gives the output 1a,1b,1c etc. How would I make it give me the output 1a, 2b, 3c, ..?
range = range(1,4)
list = ['a','b','c']
for each in range:
for i in list:
print str(each) + i
Thanks so much for your help.
I guess your problem is using two for loops. Why not just keep things simple and use something like: