Cant find out if this is the right code?
<p>Hello I have to program the question bellow ( my code is under that) However once your read the question you will understand that I need the code to also add all the previous numbers. If someone could see my code and tell me if it is already doing that and if not how I could go about it I tried something which didn't work as the answer kept coming as 0.</p>

<p>THE QUESTION:</p>

<blockquote>
  <p>As you know the inventor of the game chess was quite a
  clever fellow. As the story goes  the inventor presented the game to
  the king and the king was quite pleased. The king  asked what the
  inventor wanted as payment. He asked for a grain of cereal for the
  first square and to have each of the next 63 squares double the
  previous square. As the story  goes the king agrees, but was not too
  pleased by the final payment. Create a program that  computes how much
  grain the king had to pay. Express your answer in pounds; assume 
  there are 7000 grains to a pound.</p>
</blockquote>

<p>MY CODE: </p>

<pre><code>count = 0 
number1 = 1 
num = 2

while count &lt; 63:
    num = num * 2
    count += 1

print "He payed ", num, " Pounds."
</code></pre>
