title: What is wrong in the code, I want output as [10,20,30,40,50,60,70,80,90,100]
body: <p>My code is as follow:</p>
  
  <pre class="lang-py prettyprint-override"><code>factors = []
  num = 1
  
  while num &lt;= 100:
      num+=1
      if num % 10:
          break
          factors.append(num)
  
  print(factors)
  </code></pre>
  
  <p>It is giving me the output: [2, 3, 4, 5, 6, 7, 8, 9]</p>