let\'s say that I have string:
s = \"Tuple: \"
and Tuple (stored in a variable named tup):
(2, a, 5)
Try joining the tuple. We need to use map(str, tup) as some of your values are integers, and join only accepts strings.
s += "(" + ', '.join(map(str,tup)) + ")"
This also works:
>>> s = "Tuple: " + str(tup)
>>> s
"Tuple: (2, 'a', 5)"
>>> tup = (2, "a", 5)
>>> s = "Tuple: {}".format(tup)
>>> s
"Tuple: (2, 'a', 5)"