#math.floor(number)
import math
print(math.floor(3.319)) #Prints 3
print(math.floor(7.9998)) #Prints 7
import math
print(math.floor(48.25))
print(math.floor(45.98))
print(math.floor(-38.68))
print(math.floor(-24.99))
import math
print(math.floor(5.3))
output = 5
def floor(k,b):
return b-k%b+k-b
print(floor(3,10)) # Prints: 0
print(floor(7.94,2.125)) # Prints: 6.375
import math
x = 3.86356
math.floor(x)
>>> import math
>>> math.floor(6.7)
6