title: How many integers between 1 and 1000 inclusive that are not divisible by 3, 5 or 7?
body: <p>I am using Python and can someone please tell me what is wrong with my code here? </p>
  
  <pre><code>def notdivisible():
  
      count =0
      for i in range(1,1001):
  
          while i%3 !=0 or i%5 !=0 or i%7 !=0:
              count+=1
              i+=1
  
      print (count)
  
  
  notdivisible()
  </code></pre>