rounding a number high up 1

rounding a number high up

import math

Here is what the above code is Doing:
1. We import the math module.
2. We use the ceil() function from the math module to round up the number 4.2.
3. We use the int() function to convert the number 4.3 to an integer.
4. We print the result.

Similar Posts