user
You need to complete the following task:

Create a function to round a number to two decimal places.

14.659

Answer:
assistant
def round_to_two_decimal(num):
    return round(num, 2)

print(round_to_two_decimal(14.659)) # Output: 14.66