# sample_list is defined list sample_list = [1,2,3,'seeker',3,7.5] # set() to convert list to set sample_set = set(sample_list) print(sample_set) #printing set # Output: # {1, 2, 3, 7.5, ‘seeker’} # Time of execution 0.00016019