How to round number to two decimals in Python?

>>> number = 1.234
>>> number = round(number, 2)
>>> print(number)
1.23
12/2024