I have make a set of names in this form: 's1', 's2', ..., 's100'
. I thought I can do that easily via looping:
for i in range(100):
print ('s'.format(i+1))
format
here does not append the numbers. I only get ss..ss
without the numbers being concatenated in single quote. I know how to do this in Java but I am not that much expert in Python. Thank you