title: Python 3.0+ setting to max 4 decimal and rounding
body: <p>So I have an assignment to match an expected output: 34.7381. But I am getting 34.73809999999999. I realize that it is just a rounded number with only 4 decimal places but I have no clue how to that in a short step.</p>
  
  <p>I could brute force it and check for the placement of the decimal point, checking how many characters are after it, eliminating all of them and doing the rounding myself. But that seems rather complicated and stupid for something so simple. </p>
  
  <p>Thanks you for your help!</p>