title: How do i code this usin while loop and Python
body: <blockquote>
  <p>Create a program that multiplies all the numbers from 1,2,3, ... and ends when the product is greater than 1000.</p>
  </blockquote>
  <p>I tried this code but it does not work.</p>
  <pre><code>produkt = 1
  while produkt&lt;1000:
      print(produkt)
      produkt = produkt*(produkt +1)
      if produkt &lt; 1000:
          break
  </code></pre>