Run
#take a tuple of elements myTuple = ('apple', 'banana', 'cherry', 'banana') #unpack tuple items and form set output = {*myTuple} print(f'Set : {output}')
Output