Each number should be formatted that it is rounded to two decimal places. You don't need to check whether the input is a valid number because only valid numbers are used in the tests.
```
Example:    
5.5589 is rounded 5.56   
3.3424 is rounded 3.34
```
def two_decimal_places(n):
    if (n * 1000) % 10 < 5:
        return round(n, 2)
    else:
        return round(n + 0.001, 2)
def two_decimal_places(n):
    if (n * 1000) % 10 < 5:
        return round(n, 2)
    else:
        return round(n + 0.001, 2)