[Tutor] how to unique the string

bob gailer bgailer at gmail.com
Sat Oct 22 18:25:34 CEST 2011


On 10/22/2011 12:09 PM, lina wrote:
> Hi,
>
> I googled for a while, but failed to find the perfect answer,
>
> for a string
>
> ['85CUR', '85CUR']
>
> how can I unique it as:
>
> ['85CUR']

Try

set(['85CUR', '85CUR']

-- 
Bob Gailer
919-636-4239
Chapel Hill NC



More information about the Tutor mailing list