title: First 100 prime numbers
body: <p>I know there are a number of ways to find the first 100 prime numbers but please help me in my approach. I find the value of <code>count</code> to be increasing but for some reason the <code>while</code> loop condition doesn't apply:</p>
  <pre><code>count = 0
  
  while(count &lt;= 20):
      for i in range(2, 20):
          for j in range(2, i):
              if i &lt; j:
                  print(&quot;The number&quot;,i,&quot;is prime&quot;)
              elif i % j == 0:
                  break
          else:
              print(&quot;The number&quot;,i,&quot;is prime&quot;)
              count = count + 1
              print(count)
  </code></pre>