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).
python 3 (generate prime number)
import math i = 2 while True: for x in range(2, int(math.sqrt(i) + 1)): if i%x==0: break else: print(i) i += 1