title: Multiply items in range in Python
body: <p>I am brand new to Python, and I'm currently taking a free online course.</p>
  
  <p>I'm stuck trying to figure out how to code this simple optional problem found in my course:</p>
  
  <h1>[ ] using range(x) multiply the numbers 1 through 7</h1>
  
  <h1>1x2x3x4x5x6x7 = 5040</h1>
  
  <p>I have made a variable for the range, 7, and a variable for the product used in the loop:</p>
  
  <pre><code>x = 7
  product = 0
  
  for item in range(x):
  </code></pre>
  
  <p>This is where I'm stuck.
  I try things in the loop like:</p>
  
  <p>product = item * item</p>
  
  <p>which doesn't even make any sense. I'm having a total mental block right now. I realize this should be an easy thing to do, but can't for whatever reason. I've tried making other variables like "number" and "previous_number" to make things easier for me, but I just get confused.</p>
  
  <p>I need to use a for loop in this solution. I'm just not understanding the logic right now. A solution and explanation would be great! Please help!</p>