t296.py 86 B

123456
  1. # Test the creation of sets
  2. l = [1,2,3,4,1,1]
  3. print l
  4. s = set(l)
  5. print s
  6. print len(s)