title: Python While Loops Asterisk
body: <p>Re-type and run, note incorrect behavior. Then fix errors in the code, which should print num_stars asterisks.</p>
  
  <pre><code>while num_printed != num_stars:
      print('*')
  </code></pre>
  
  <p>Below is the code which I have entered. I am getting an infinite loop hence no answer. Please help me out! Thanks!</p>
  
  <pre><code>num_stars = 3
  
  num_printed = 0
  
  while(num_printed != num_stars):
  
      print(num_stars*'*')
  </code></pre>