Answers for "floor pytojn"

29

python floor

import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
Posted by: Guest on May-18-2020
1

python floor function

import math
print(math.floor(48.25))
print(math.floor(45.98))
print(math.floor(-38.68))
print(math.floor(-24.99))
Posted by: Guest on December-28-2021

Python Answers by Framework

Browse Popular Code Answers by Language