fork download
  1. from itertools import chain
  2.  
  3. d = [[1],[2],[3],[3]]
  4.  
  5. print(set(chain(*d)))
Success #stdin #stdout 0.02s 9268KB
stdin
Standard input is empty
stdout
{1, 2, 3}