we can concatenate two tubles using ‘+’ symbol See below example
tuple_odd = (1, 3 , 5)
tuple_even = (2, 4, 6)
tuple_int = tuple_odd + tuple_even
print( tuple_int ) # (1, 3, 5, 2, 4, 6)
Tutorialshore
we can concatenate two tubles using ‘+’ symbol See below example
tuple_odd = (1, 3 , 5)
tuple_even = (2, 4, 6)
tuple_int = tuple_odd + tuple_even
print( tuple_int ) # (1, 3, 5, 2, 4, 6)