title: Nested While loop in Python
body: <p>I am a beginner in python programming. I wrote the following program but it doesn't execute as I want it to. Here is the code:</p>
  
  <pre><code>b=0
  x=0
  while b&lt;=10:
      print 'here is the outer loop\n',b,
      while x&lt;=15:
          k=p[x]
          print'here is the inner loop\n',x,
          x=x+1
      b=b+1
  </code></pre>
  
  <p>can somebody help me?? I will be grateful indeed!
  Regards,
  Gillani</p>