Run
# Take a tuple of elements myTuple = ('apple', 'banana', 'cherry', 'banana') # Convert tuple into set output = set(myTuple) print(f'Set : {output}')
Output