@@ -0,0 +1,434 @@
+def genPrimes():%0A  primeNumbers = %5B2%5D%0A  count = 2%0A  yield count%0A  while True:%0A    prime = True%0A    for num in primeNumbers:%0A      if count %25 num == 0:%0A        prime = False%0A    if prime == True:%0A      primeNumbers.append(count)%0A      yield count%0A    else:%0A      count += 1%0A%0A%0Ax = genPrimes()%0Aprint(x.__next__())%0Aprint(x.__next__())%0Aprint(x.__next__())%0Aprint(x.__next__())%0Aprint(x.__next__())%0Aprint(x.__next__())%0Aprint(x.__next__())%0A%0A%0A%0A

Write a generator, genPrimes