I am trying to convert list of tuples to tuple of tuples , what I am doing is wrong, Please help to fix this issue
list1= [('2', '297'), ('6', '297')]
for x in list1:
print("inside fn")
print(x)
tuple_of_tuples+=tuple(x)
print(tuple_of_tuples)
output = ('2', '297', '6', '297')
I want output as (('2', '297'), ('6', '297'))