math.floor syntax python code example Example: floor function in python import math print(math.floor(5.3)) output = 5