I am newbie with Python formatting.I have assigned an integer to a variable k as below:
k = 1
tel = tel + [(%d + 1) % k]
print tel
I want to concatenate the string tel with the sum of %d +1
The above code does not work as I am sure there is something wrong in the syntax. How do I write the correct form
Thanks!