title: How to create loop for first value of three?
body: <p>I have to create a loop that will run until a variable is met. The variables are:</p>
  
  <pre><code>a=0
  b=a+1
  c=a+b
  </code></pre>
  
  <p>The loop must run until c is greater than 5. I have used </p>
  
  <pre><code>a=0
  b=a+1
  c=a+b
      while(c&lt;5):
      print(c)
      a+=1
  </code></pre>
  
  <p>However, when ran the code is an infinite 1 loop :( i'm new to programming and have been working on this simple problem for a while, what am I missing? I am using Python</p>