def remove_duplicate(list1):
 import itertools
 
 list.sort(list1)
 remove_duplicate = list(list1 for list1,_ in itertools.groupby(list1))
 return remove_duplicate
def remove_duplicate(list1):
    import itertools
   
    list.sort(list1)
    remove_duplicate = list(list1 for list1, _ in itertools.groupby(list1))
    return remove_duplicate