Solve the programming task below in a Python markdown code block.
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
```
Also feel free to reuse/extend the following starter code:
```python
def two_decimal_places(n):
```