You can directly add a tuple to another tuple using a + operator. For example,
Example
x = (1, 2, 3) y = (4, 5) x = x + y print(x)
Output
This will give the output
x = (1, 2, 3) y = (4, 5) x = x + y
You can directly add a tuple to another tuple using a + operator. For example,
x = (1, 2, 3) y = (4, 5) x = x + y print(x)
This will give the output
x = (1, 2, 3) y = (4, 5) x = x + y