title: How to collect the result values using while?
body: <p>I have a question of while in python.
  How to collect the result values using while?</p>
  
  <pre><code>ColumnCount_int = 3
  while ColumnCount_int &gt; 0 :
      ColumnCount_text = str('&lt;colspec colnum="'+ str(ColumnCount_int) +'"' ' ' 'colname="'+ str(ColumnCount_int) + '"&gt;')
      Blank_text = ""
      Blank_text = Blank_text + ColumnCount_text
      ColumnCount_int = ColumnCount_int - 1
      print(Blank_text)
  </code></pre>
  
  <p>result shows as below </p>
  
  <pre><code>&lt;colspec colnum="3" colname="3"&gt;
  &lt;colspec colnum="2" colname="2"&gt;
  &lt;colspec colnum="1" colname="1"&gt;
  </code></pre>
  
  <p>but i want to collect all result like as below</p>
  
  <pre><code>&lt;colspec colnum="3" colname="3"&gt;&lt;colspec colnum="2" colname="2"&gt;&lt;colspec colnum="1" colname="1"&gt;
  </code></pre>
  
  <p>Would you tell me which part wrong is ?</p>