title: How do I add five numbers from user input in Python?
body: <p>As a practice exercise, I am trying to get five numbers from a user and return the sum of all five number using a while loop.  I managed to gather the five numbers, but the sum is not provided by my code (I get a number, but it is always double the last number).  I believe the issue is with my use of +=.</p>
  
  <pre><code>x = 0   
  while x &lt; 5:
      x += 1
      s = (int(raw_input("Enter a number: ")))
      s += s
  print s
  </code></pre>