[pythonvis] Re: set.

  • From: Jeffrey Turner <jturner522@xxxxxxxxx>
  • To: PythonVis List <pythonvis@xxxxxxxxxxxxx>
  • Date: Fri, 7 Jul 2017 05:09:15 -0700

Hi,

Think of problems where you’ve got a group of similar objects, and you don’t 
want any duplicates. You can use the set functionality to make sure you only 
have one instance of each unique value in the group.

JDog

On Jul 6, 2017, at 11:24 PM, Richard Dinger <rrdinger@xxxxxxxxxx> wrote:

a set is a mathematical construct.  A set is a well defined collection of 
distinct objects and is an object itself.  For example the symbols 0, 1, 2, 3, 
4, 5, 6, 7, 8, 9 are the decimal digits.  A set may contain no more than one 
instance of each member.
 
The only application that comes to mind tonight is when building a maze, sets 
are used agood bit.  When JET gets up tomorrow, he will probably have a few 
suggestions as he uses sets heavily.
 
 
Richard
From: Gabriele Battaglia (Redacted sender "iz4apu" for DMARC) <>
Sent: Thursday, July 06, 2017 11:01 PM
To: pythonvis@xxxxxxxxxxxxx <>
Subject: [pythonvis] set.
 
Hello dears.
I’m experimenting some problem getting the concept of data of type set.
Well, list, tuple and dictionary are ok but what are set?
Do I have to consider them as kind of dictionaries too?
 
Can someone write for me a small bunch of examples where the type set of data 
can solve better than other kinds, a certain problem?
 
Thanks.
Gabriele.

Namasté!
Sent from my iMac27. (Libero)
 

Other related posts: