Could someone please tell me what I\'m doing wrong with this code? It is just printing \'count\' anyway. I just want a very simple prime generator (nothing fancy).
print [x for x in range(2,100) if not [t for t in range(2,x) if not x%t]]