Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33596 > unrolled thread

Re: Python Interview Questions

Started byJean-Michel Pichavant <jeanmichel@sequans.com>
First post2012-11-19 19:02 +0100
Last post2012-11-19 19:02 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Re: Python Interview Questions Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-11-19 19:02 +0100

#33596 — Re: Python Interview Questions

FromJean-Michel Pichavant <jeanmichel@sequans.com>
Date2012-11-19 19:02 +0100
SubjectRe: Python Interview Questions
Message-ID<mailman.35.1353401935.29569.python-list@python.org>

----- Original Message -----
> Use a set when you want to represent a collection of items and the
> order
> is not important:

An important feature of sets is that their items are unique.
set(list(...)) is a good shortcut to remove duplicate in a list.

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web