title: Rounding a dictionary floating point value to 2 decimal point: Python
body: <p>I have the following dictionary values and I would like to round it to two decimal points. But I couldn't find a convenient solution for this.</p>
  <pre class="lang-py prettyprint-override"><code>my_dict= {180: 0.40111111111111114, 190: 0.28571428571428575, 200: 0.28451612903225804, 210: 0.2304761904761905, 220: 0.1977570093457944, 230: 0.17587786259541985, 240: 0.16025641025641027}
  </code></pre>
  <p>I have tried many possibilities with <code>round</code> method but didn't work.</p>
  <p>For example:
  <code>round(my_dict, 2)</code> or <code>print(f'{my_dict:.2f}')</code></p>
  <p>But couldn't get the whole value rounded.</p>
  <p>Is there any way to do this?</p>