Category: python interview questions
Python interview questions for beginners
What are the different way to concatenate two tuples
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)