title: While loop assignment
body: <pre><code># Finicky Counter
  # Demonstrates the break and continue statements
  
  count = 0
  while True:
    count += 1
    # end loop if count greater than 10
    if count &gt; 10:
     break
    # skip 5
    if count == 5:
      continue
    print(count)
  
  input("\n\nPress the enter key to exit.")
  </code></pre>
  
  <p>Why does the while True loop apply to count in this circumstance? I dont understand why the boolean is gauging the result of count. Wouldn't the correct syntax be:</p>
  
  <pre><code>while count:
  </code></pre>
  
  <p>Any help clarifying this would be appreciated.</p>