append a list to tuple code example
Example 1: how to add number in tuple
a = ('2',)
b = 'z'
new = a + (b,)
Example 2: how to append a tuple to a list
a_list = []
a_list.append((1, 2)) # Succeed! Tuple (1, 2) is appended to a_list
a_list.append(tuple(3, 4)) # Error message: ValueError: expecting Array or iterable