title: How to convert php number_format() function to python
body: <p>I want to convert php code to python3.</p>
  
  <p>this is my php code </p>
  
  <pre><code>echo "&lt;td class='text-left'&gt;".number_format($amount,2)."&lt;/td&gt;";
  </code></pre>
  
  <p>I want to convert this php into Python. Please help me in that</p>