Re: how to delete duplicate items in the same list
- To: mathgroup at smc.vnet.net
- Subject: [mg45535] Re: how to delete duplicate items in the same list
- From: "Joshua A. Solomon" <J.A.Solomon at city.ac.uk>
- Date: Tue, 13 Jan 2004 04:03:51 -0500 (EST)
- References: <bto1uf$2ka$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On 10/1/04 5:18 am, in article bto1uf$2ka$1 at smc.vnet.net, "Sabrina"
<hxs61 at case.edu> wrote:
> Hello, all:
> I can't find a way to make sure all items in the same list are unique. Can
> anybody help me out? Thanks a lot!
>
> Sabrina
>
>
>
a = {1, 2, 3}; b = {1, 2, 3, 3};
Union[a]==a
True
Union[b]==b
False