Python, create a loop 'For'
<p>With this query i will select so many row in this table <code>x_giolam</code>. <br>
-I want create a 'For' to which sum all 'giolam' with all rows i were select in this query.</p>

<pre><code>cr.execute("""select name,giolam from x_giolam where name=%s"""%(ma_luong)),
</code></pre>

<p>i want to create a loop to sum all 'giolam' with rows were select </p>
