title: how remove sublists from a nested list?
body: <p>I have a nested list, I wanna make a new list where non of items are a sub list of others.</p>
  <pre><code>all_clusters=[['A','B','C'],['C','B'],['T','A'],['A']]
  </code></pre>
  <p>the second element is the subset of the first one so I wanna remove it. same 4 and 1.</p>
  <p>output:</p>
  <pre><code>all_clusters=[['A','B','C'],['T','A']]
  </code></pre>
  <p>I did the following:</p>
  <pre><code> ind=[]
  for s,i in enumerate(all_clusters):
      for r,j in enumerate(all_clusters):
          if i!=j:
              if all(j[k] in i for k in range(len(j))):
                  ind.append([s,r])
  </code></pre>
  <p>now I wanna remove all all_clusters[p[0]] for p in ind.</p>
  <p>how I can do that? <code>all_clusters.remove()</code> dosn't work for indices. is there a better way?</p>