title: How to convert list of tuple cursor.fetchall to different format
body: <p>My mysql query which is multiple joins <code>cursor.fetchall()</code> is giving the output below</p>
  <p><code>[('Books', Decimal('10.000'), Decimal('0E-20'), None), ('Pencil', Decimal('66.66666'), Decimal('0E-20'), None), ('Pen', Decimal('100.0000'), Decimal('0E-20'), None)]</code></p>
  <p>How to convert to below format</p>
  <ul>
  <li>round to two decimals</li>
  <li>None has to replace with 0</li>
  </ul>
  <p>Expected out</p>
  <p><code>[('Books', '10.00', '0.00', 0), ('Pencil', '66.67','0.00', 0), ('Pen', '100.00', '0.00', 0)]</code></p>