Hi
I am trying my first try at Python. I want to do something very similar to what sprintf does with C. I want to concatenate a string with a number and store it into a new string.
I wrote a snippet like this
username='user'
for i in range (1-100)
user=user_name+str(i)
print user
else: print 'The loop is done'
But this one fails to do the same. Can somene help me decipher where exactly I am going wrong.
Thanks for your help
regards
Ram