list1 = ['tom', 'jerry'] set1 = {'gzy', 'chris'} tuple1 = (10, 20) # list # print(list(set1)) # print(list(tuple1)) # tuple # print(tuple(list1)) # print(tuple(set1)) # set print(set(list1)) print(set(tuple1))