Tuple tuple(seq) Function

In Python Tuple tuple(seq) function takes types of the sequence and converts them to Tuple. Simply used to convert the list into a tuple.

Syntax:
There is 1 Parameter used in Lists list(seq) Function: seq A tuple to be converted into the list.
Example:
#tuple() function

Tuple1 = ('BOB', 'TOM', 'JOHN');
tuple1 = tuple(Tuple1)
print ("Elements of the tuple : ", tuple1)