def list_remove_repeat(l=None):
 l2 = []
 [l2.append(i) for i in l if (not (i in l2))]
 return l2

def list_remove_repeat ( l = None ) : l2 = [ ] [ l2 . append ( i ) for i in l if ( not ( i in l2 ) ) ] return l2
remove the repeated items in a list .