title: Sum of the integers from 1 to n
body: <p>I'm trying to write a program to add up number from 1 to n. I've managed to get it to print the numbers several times but not add them all. It keeps on just adding two of the numbers.</p>
  
  <p>My 1st attempt is:</p>
  
  <pre><code>def problem1_3(n):
      my_sum = 0
      # replace this pass (a do-nothing) statement with your code
      while my_sum &lt;= n:
          my_sum = my_sum + (my_sum + 1)
      print() 
      print(my_sum)
  </code></pre>
  
  <p>How can I fix this problem?</p>