Lantai Python
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
AlarmClockMan
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
>>>import math
>>> math.pi
3.141592653589793
import math
print(math.floor(48.25))
print(math.floor(45.98))
print(math.floor(-38.68))
print(math.floor(-24.99))
>>>import math
x = 5.781
math floor(x)
>>> import math
>>> math.floor(6.7)
6
import math
x = 3.86356
math.floor(x)