python how to add values to a tuple code example
Example 1: how to add number in tuple
a = ('2',)
b = 'z'
new = a + (b,)
Example 2: how to add strings in tuple in python
First, convert tuple to list by built-in function list().
You can always append item to list object.
Then use another built-in function tuple() to
convert this list object back to tuple.
You can see new element appended to original tuple representation.
by tutorialspoint.com
happy coding :D