So, i have this problem. I got tuple (1,2,3) which i should print with string formatting. eg.
tup = (1,2,3) print \"this is a tuple %something\" % (tup)
Note that the % syntax is obsolete. Use str.format, which is simpler and more readable:
%
str.format
t = 1,2,3 print 'This is a tuple {0}'.format(t)