round numbers python

>>> import math

>>> math.ceil(5.2)
6

>>> math.ceil(5)
5

>>> math.ceil(-0.5)
0

Here is what the above code is Doing:
1. We are first importing the math module.
2. We are then using the ceil() function from the math module to round up the number 5.2 to the next highest integer, which is 6.
3. We are then using the ceil() function from the math module to round up the number 5 to the next highest integer, which is 5.
4. We are then using the ceil() function from the math module to round up the number -0.5 to the next highest integer, which is 0.