[Tutor] how to unique the string

Devin Jeanpierre jeanpierreda at gmail.com
Sat Oct 22 18:22:41 CEST 2011


You should be able to do this yourself, with the help of the following link:

http://docs.python.org/library/stdtypes.html#set

Is this a homework question?

Devin

On Sat, Oct 22, 2011 at 12:09 PM, lina <lina.lastname at gmail.com> 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']
>
> Thanks,
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list