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