Python fabs() is an inbuilt math function that is used to get the absolute value of a number. The fabs() method is under the math library in Python.