# The first one #def delRepeat(liebiao): for x in liebiao: while (x)>1: del liebiao[(x)] return liebiao# The second one can't maintain the original orderliebiao=set(liebiao)