title: While loop program in python for storing values divisible by 10
body: <p>I cant generate/store values divisible by 10 in factors list</p>
  
  <pre><code>factors = []
  num = 1
  
  while num &lt;= 100:
    if num % 10:
      factors.append(num)
    num += 1
  print (factors)
  </code></pre>