langit -langit python
import math
n = 2.5
print(math.ceil(n))
Muddy Markhor
import math
n = 2.5
print(math.ceil(n))
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
import math
print(math.floor(5.3))
output = 5
import math
print(math.floor(48.25))
print(math.floor(45.98))
print(math.floor(-38.68))
print(math.floor(-24.99))
>>> import math
>>> math.floor(6.7)
6
import math
x = 3.86356
math.floor(x)