Write a python program to create tuples (name, age, address, college) for at least two members and concatenate the tuples and print the concatenated tuples.

# Creating tuples for two members

member1 = ("Raj", 21, "Hyderabad", "Osmania University")

member2 = ("Priya", 22, "Chennai", "Anna University")


# Concatenating the tuples

concatenated_tuple = member1 + member2


# Printing the concatenated tuple

print("Concatenated Tuple:")

print(concatenated_tuple)

Output:


Comments