fabs() returns the same number if it is a negative value.
1 Like
False
Reason — The fabs() function returns the absolute value of a number, which means it converts any negative number to its positive equivalent.
fabs()
Answered By
A module is not necessarily to be imported before being used.
floor() returns the closest integer value less than or equal to a floating point number.
math.sqrt(x) returns a ValueError if x is a negative number.
The mean() method calculates the arithmetic mean of the numbers in a list.