Tuple joins

 print("--------------------------Join Two Tuples----------------------------")
tuple1= ("a","b","c")
print("tuple1 is:", tuple1)
print(type(tuple1))
print("                                                       ")

tuple2 = (1, 2, 3)
print("tuple2 is:", tuple2)
print("                                                       ")

tuple3 = tuple1 + tuple2
print("tuple3:",tuple1 + tuple2)
print("                                                       ")
print("                                                       ")

print("--------------------------Multiply Tuples----------------------------")
fruits = ("apple", "banana", "cherry")
mytuple = fruits * 2
print("tuple is: ", mytuple)
print("type of tuple is:", type(mytuple))




Output:

--------------------------Join Two Tuples----------------------------
tuple1 is: ('a', 'b', 'c')
<class 'tuple'>
                                                       
tuple2 is: (1, 2, 3)
                                                       
tuple3: ('a', 'b', 'c', 1, 2, 3)
                                                       
                                                       
--------------------------Multiply Tuples----------------------------
('apple', 'banana', 'cherry')
tuple is:  ('apple', 'banana', 'cherry', 'apple', 'banana', 'cherry')
type of tuple is: <class 'tuple'>