title: Python Loop While cumulative sum less than 100
body: <pre><code>&gt; num = 0
  total = 0
  
  while(True):
      num += 1
      total += num
      if total &lt; 100:
          break
       
  print('The last number is %d and total is %d' % (num, total))
  </code></pre>
  <p>The answer is supposed to be &quot;The last number is 13 and total is 91&quot; but I keep getting 1 for the answers. I know there's something wrong with the sixth line but I can't figure out how to make it right.</p>